Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006733/0.0006733, allocations: 86.36 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3153/0.3153, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004542, allocations: 23.98 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002238/0.1168, allocations: 1.526 MB / 492.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1182, allocations: 0.8396 MB / 493.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1184, allocations: 3.938 kB / 493.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.1188, allocations: 151.7 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.1192, allocations: 123.6 kB / 493.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1196, allocations: 127.7 kB / 493.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.12, allocations: 179.4 kB / 493.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1201, allocations: 21.55 kB / 493.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1203, allocations: 103.5 kB / 493.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1205, allocations: 95.64 kB / 494 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1205, allocations: 7.984 kB / 494 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1207, allocations: 32 kB / 494 MB, free: 7.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.1208, allocations: 47.83 kB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1209, allocations: 93.17 kB / 494.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1211, allocations: 140 kB / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1211, allocations: 0 / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1211, allocations: 0 / 494.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1211, allocations: 4 kB / 494.3 MB, free: 7.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006426/0.1218, allocations: 498.4 kB / 494.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1218, allocations: 15.97 kB / 494.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.1219, allocations: 24.56 kB / 494.8 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1222, allocations: 259.6 kB / 495.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1222, allocations: 8.312 kB / 495.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.1222, allocations: 12.11 kB / 495.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.1225, allocations: 103.3 kB / 495.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1225, allocations: 0 / 495.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1225, allocations: 7.938 kB / 495.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1225, allocations: 0 / 495.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1226, allocations: 39.97 kB / 495.2 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1232, allocations: 437 kB / 495.7 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1234, allocations: 113.3 kB / 495.8 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.1235, allocations: 41.7 kB / 495.8 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1236, allocations: 11.91 kB / 495.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.1238, allocations: 113 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1238, allocations: 0 / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007999/0.1246, allocations: 344.7 kB / 496.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1247, allocations: 93.03 kB / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.125, allocations: 354.9 kB / 496.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.125, allocations: 25.7 kB / 496.7 MB, free: 4.703 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.1251, allocations: 140.4 kB / 496.9 MB, free: 4.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1252, allocations: 51.34 kB / 496.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.1252, allocations: 4 kB / 496.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1253, allocations: 338.8 kB / 497.3 MB, free: 4.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.1254, allocations: 39.97 kB / 497.3 MB, free: 4.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1255, allocations: 82.95 kB / 497.4 MB, free: 4.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.1257, allocations: 111.4 kB / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1257, allocations: 0 / 497.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002954/0.126, allocations: 189.1 kB / 497.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.126, allocations: 7.594 kB / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.126, allocations: 0 / 497.7 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1261, allocations: 4 kB / 497.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1262, allocations: 27.98 kB / 497.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1262, allocations: 7.938 kB / 497.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.1263, allocations: 12.12 kB / 497.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1263, allocations: 11.92 kB / 497.8 MB, free: 3.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.1265, allocations: 157.9 kB / 497.9 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1265, allocations: 23.72 kB / 497.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.1266, allocations: 29.73 kB / 498 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1266, allocations: 4 kB / 498 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1266, allocations: 3.938 kB / 498 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1266, allocations: 0 / 498 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.1273, allocations: 0.6244 MB / 498.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1273, allocations: 0 / 498.6 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1273, allocations: 16 kB / 498.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1273, allocations: 3.938 kB / 498.6 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1274, allocations: 11.98 kB / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1274, allocations: 0 / 498.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1274, allocations: 4 kB / 498.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1277, allocations: 364 kB / 499 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1278, allocations: 104.8 kB / 499.1 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1278, allocations: 7.984 kB / 499.1 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.128, allocations: 8 kB / 499.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.128, allocations: 15.92 kB / 499.1 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.128, allocations: 11.98 kB / 499.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.1283, allocations: 265.9 kB / 499.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 499.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.1286, allocations: 32 kB / 499.4 MB, free: 1.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009588/0.1295, allocations: 476.8 kB / 499.9 MB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1298, allocations: 115.8 kB / 500 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1298, allocations: 0 / 500 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.13, allocations: 59.91 kB / 0.4883 GB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.1305, allocations: 60.62 kB / 0.4884 GB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006735/0.1311, allocations: 495.1 kB / 0.4889 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1649/0.296, allocations: 0.7493 MB / 0.4896 GB, free: 42.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2962, allocations: 27.5 kB / 0.4896 GB, free: 42.47 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2962, allocations: 0 / 0.4896 GB, free: 42.47 MB / 378.7 MB Notification: Performance of Templates: time 0.00545/0.3017, allocations: 3.062 MB / 0.4926 GB, free: 42.3 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches