Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 183 kB / 16.63 MB, free: 5.137 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.651/1.651, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001156/0.001156, allocations: 100.9 kB / 269.9 MB, free: 8.43 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.3349/0.3349, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009615/0.0009615, allocations: 51.92 kB / 429.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1069, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003083/0.11, allocations: 1.911 MB / 488.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1114, allocations: 0.882 MB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.1115, allocations: 7.938 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.112, allocations: 219.5 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1123, allocations: 151.6 kB / 490.2 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1127, allocations: 139.6 kB / 490.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.113, allocations: 219.3 kB / 490.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1131, allocations: 21.53 kB / 490.5 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1133, allocations: 103.6 kB / 490.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.1135, allocations: 143.5 kB / 490.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.1135, allocations: 8 kB / 490.8 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1136, allocations: 47.91 kB / 490.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.1137, allocations: 51.83 kB / 490.9 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.626e-05/0.1138, allocations: 83.34 kB / 491 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.1141, allocations: 203.5 kB / 491.2 MB, free: 8.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1141, allocations: 3.938 kB / 491.2 MB, free: 8.324 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1141, allocations: 0 / 491.2 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1141, allocations: 0 / 491.2 MB, free: 8.324 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.0006515/0.1148, allocations: 0.5447 MB / 491.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1148, allocations: 8.031 kB / 491.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.1149, allocations: 24.66 kB / 491.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1152, allocations: 280.1 kB / 492 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1152, allocations: 8.312 kB / 492 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1153, allocations: 16.03 kB / 492.1 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.1155, allocations: 91.36 kB / 492.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1155, allocations: 0 / 492.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1155, allocations: 4 kB / 492.1 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1155, allocations: 4 kB / 492.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1157, allocations: 35.97 kB / 492.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1162, allocations: 444.9 kB / 492.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.1165, allocations: 121.3 kB / 492.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.768e-05/0.1166, allocations: 37.7 kB / 492.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1166, allocations: 7.984 kB / 492.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.1168, allocations: 117 kB / 492.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1169, allocations: 0 / 492.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008391/0.1177, allocations: 364.5 kB / 493.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.1178, allocations: 89.03 kB / 493.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.1182, allocations: 428.5 kB / 493.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1182, allocations: 25.7 kB / 493.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.1183, allocations: 160.3 kB / 493.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.1183, allocations: 47.39 kB / 494 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.1184, allocations: 37.7 kB / 494 MB, free: 5.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1185, allocations: 342.8 kB / 494.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.431e-05/0.1186, allocations: 40.05 kB / 494.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1187, allocations: 75.34 kB / 494.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.119, allocations: 127.5 kB / 494.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.119, allocations: 0 / 494.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003097/0.1193, allocations: 177.2 kB / 494.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1193, allocations: 4 kB / 494.8 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1193, allocations: 4 kB / 494.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1193, allocations: 4.062 kB / 494.8 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1195, allocations: 39.92 kB / 494.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1195, allocations: 3.938 kB / 494.8 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.1196, allocations: 7.984 kB / 494.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1196, allocations: 8 kB / 494.8 MB, free: 4.379 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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * 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.0001327/0.1197, allocations: 165.7 kB / 495 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1198, allocations: 27.62 kB / 495 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.1198, allocations: 42.61 kB / 495.1 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1199, allocations: 4 kB / 495.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1199, allocations: 7.938 kB / 495.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1199, allocations: 0 / 495.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.1205, allocations: 0.6241 MB / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1206, allocations: 0 / 495.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.1206, allocations: 19.98 kB / 495.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1206, allocations: 4.062 kB / 495.7 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1206, allocations: 4 kB / 495.7 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1206, allocations: 4 kB / 495.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1207, allocations: 0 / 495.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.1214, allocations: 0.9976 MB / 496.7 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1215, allocations: 104.8 kB / 496.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1215, allocations: 4 kB / 496.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1217, allocations: 15.92 kB / 496.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.1217, allocations: 11.92 kB / 496.9 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1218, allocations: 8 kB / 496.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002748/0.122, allocations: 323 kB / 497.2 MB, free: 1.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.122, allocations: 4 kB / 497.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004083/0.1225, allocations: 40 kB / 497.2 MB, free: 1.824 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 (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.0009497/0.1234, allocations: 476.8 kB / 497.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002741/0.1237, allocations: 127.7 kB / 497.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1237, allocations: 0 / 497.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1238, allocations: 59.91 kB / 497.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.1243, allocations: 56.91 kB / 497.9 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.1252, allocations: 0.6904 MB / 498.6 MB, free: 444 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1255, allocations: 0.7751 MB / 499.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1257, allocations: 30.56 kB / 499.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1257, allocations: 23.42 kB / 499.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1257, allocations: 0 / 499.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of Templates: time 0.005635/0.1314, allocations: 2.667 MB / 0.4904 GB, free: 12.92 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches