Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007872/0.0007872, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009205/0.0009208, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.7 MB / 247.5 MB, free: 11.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002454, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 63.55 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002435/0.1055, allocations: 1.798 MB / 485.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1077, allocations: 1.372 MB / 486.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1079, allocations: 4 kB / 486.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1081, allocations: 43.7 kB / 486.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.1086, allocations: 187.3 kB / 487.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1099, allocations: 0.5863 MB / 487.7 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1103, allocations: 335 kB / 488 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1105, allocations: 68.7 kB / 488.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.1108, allocations: 123.3 kB / 488.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.111, allocations: 195.2 kB / 488.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.1111, allocations: 8 kB / 488.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1112, allocations: 59.97 kB / 488.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1114, allocations: 143.5 kB / 488.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1115, allocations: 192.3 kB / 488.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1119, allocations: 303.6 kB / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1119, allocations: 0 / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1119, allocations: 0 / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.1119, allocations: 4 kB / 489.1 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001012/0.1129, allocations: 0.7427 MB / 489.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.113, allocations: 8.875 kB / 489.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/0.1134, allocations: 104.1 kB / 490 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005961/0.114, allocations: 488.4 kB / 490.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1141, allocations: 8.375 kB / 490.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.1141, allocations: 12.12 kB / 490.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1145, allocations: 178.5 kB / 490.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1145, allocations: 0 / 490.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.1145, allocations: 4 kB / 490.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.1145, allocations: 4 kB / 490.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.1149, allocations: 131.9 kB / 490.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1159, allocations: 0.7268 MB / 491.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.1162, allocations: 141.2 kB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1164, allocations: 73.8 kB / 491.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1164, allocations: 4 kB / 491.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1164, allocations: 34.56 kB / 491.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.1165, allocations: 7.938 kB / 491.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002104/0.1186, allocations: 0.8225 MB / 492.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.1186, allocations: 77.11 kB / 492.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/0.1196, allocations: 0.9102 MB / 493.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1196, allocations: 33.7 kB / 493.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1198, allocations: 268.2 kB / 493.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.1199, allocations: 59.11 kB / 493.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1199, allocations: 25.7 kB / 493.9 MB, free: 9.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1201, allocations: 378.7 kB / 494.3 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.1204, allocations: 131.9 kB / 494.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1207, allocations: 143.9 kB / 494.6 MB, free: 9.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/0.1213, allocations: 285.5 kB / 494.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1213, allocations: 4 kB / 494.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007668/0.1221, allocations: 372.8 kB / 495.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1221, allocations: 4 kB / 495.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1221, allocations: 4.125 kB / 495.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1221, allocations: 3.984 kB / 495.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1224, allocations: 71.89 kB / 495.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1224, allocations: 4 kB / 495.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.1226, allocations: 35.97 kB / 495.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.1227, allocations: 11.98 kB / 495.4 MB, free: 8.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.1229, allocations: 217.7 kB / 495.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.123, allocations: 63.19 kB / 495.6 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008879/0.1239, allocations: 430.2 kB / 496.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1239, allocations: 0 / 496.1 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1239, allocations: 4 kB / 496.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1239, allocations: 0 / 496.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.1254, allocations: 0.9815 MB / 497 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1254, allocations: 3.984 kB / 497 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1256, allocations: 60.42 kB / 497.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1257, allocations: 4 kB / 497.1 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1257, allocations: 4 kB / 497.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1257, allocations: 7.938 kB / 497.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1257, allocations: 0 / 497.1 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.1265, allocations: 0.5486 MB / 497.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1267, allocations: 156.3 kB / 497.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.1267, allocations: 4 kB / 497.8 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.127, allocations: 31.92 kB / 497.9 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.1271, allocations: 23.97 kB / 497.9 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1271, allocations: 7.984 kB / 497.9 MB, free: 5.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007189/0.1278, allocations: 0.663 MB / 498.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1278, allocations: 0 / 498.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000384/0.1282, allocations: 64 kB / 498.6 MB, free: 4.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009515/0.1292, allocations: 404.8 kB / 499 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007085/0.1299, allocations: 295.8 kB / 499.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1299, allocations: 0 / 499.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.1303, allocations: 163.8 kB / 499.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.1309, allocations: 70.95 kB / 499.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1325, allocations: 1.166 MB / 0.489 GB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.1331, allocations: 0.8853 MB / 0.4898 GB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1332, allocations: 43.42 kB / 0.4899 GB, free: 1.953 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1332, allocations: 0 / 0.4899 GB, free: 1.953 MB / 366.1 MB Notification: Performance of Templates: time 0.009753/0.143, allocations: 6.257 MB / 0.496 GB, free: 11.71 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches