Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, 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.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001067/0.001066, allocations: 97.55 kB / 269.9 MB, free: 8.438 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.3511/0.3511, allocations: 43.49 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009969/0.0009969, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.107, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003327/0.1103, allocations: 1.911 MB / 488.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.1117, allocations: 0.882 MB / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.1118, allocations: 0 / 489.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.1123, allocations: 255.4 kB / 490.1 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.1126, allocations: 159.6 kB / 490.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1129, allocations: 143.7 kB / 490.4 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1132, allocations: 247.2 kB / 490.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.1133, allocations: 21.55 kB / 490.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1134, allocations: 111.6 kB / 490.7 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1136, allocations: 175.5 kB / 490.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1136, allocations: 4 kB / 490.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.1137, allocations: 35.98 kB / 490.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.1138, allocations: 67.69 kB / 491 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.1139, allocations: 83.3 kB / 491.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1141, allocations: 219.5 kB / 491.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1141, allocations: 0 / 491.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1141, allocations: 4 kB / 491.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1141, allocations: 0 / 491.3 MB, free: 8.223 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.0006972/0.1148, allocations: 0.564 MB / 491.9 MB, free: 7.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1149, allocations: 8.031 kB / 491.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.1149, allocations: 28.56 kB / 491.9 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1153, allocations: 284 kB / 492.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1153, allocations: 8.375 kB / 492.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1153, allocations: 8.125 kB / 492.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1155, allocations: 99.3 kB / 492.3 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1155, allocations: 4 kB / 492.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1156, allocations: 3.938 kB / 492.3 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1156, allocations: 7.984 kB / 492.3 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1157, allocations: 35.98 kB / 492.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1163, allocations: 456.8 kB / 492.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1165, allocations: 121.3 kB / 492.9 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.1166, allocations: 37.7 kB / 492.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1167, allocations: 4 kB / 492.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003022/0.117, allocations: 113.1 kB / 493.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.117, allocations: 3.938 kB / 493.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008481/0.1178, allocations: 380.3 kB / 493.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1179, allocations: 81.05 kB / 493.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1183, allocations: 481.7 kB / 494 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1183, allocations: 33.7 kB / 494 MB, free: 5.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.1184, allocations: 164.4 kB / 494.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.1185, allocations: 47.34 kB / 494.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.1185, allocations: 29.72 kB / 494.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1187, allocations: 350.8 kB / 494.6 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.1188, allocations: 36.17 kB / 494.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1189, allocations: 83.34 kB / 494.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1191, allocations: 123.5 kB / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1191, allocations: 0 / 494.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002935/0.1194, allocations: 177.2 kB / 495 MB, free: 4.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1194, allocations: 8.062 kB / 495 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1195, allocations: 4 kB / 495 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1195, allocations: 3.984 kB / 495 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1196, allocations: 35.92 kB / 495.1 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1196, allocations: 3.938 kB / 495.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.1197, allocations: 11.91 kB / 495.1 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1197, allocations: 8 kB / 495.1 MB, free: 4.156 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.0001396/0.1199, allocations: 169.7 kB / 495.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1199, allocations: 35.61 kB / 495.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.12, allocations: 42.81 kB / 495.3 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.12, allocations: 4 kB / 495.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.12, allocations: 3.938 kB / 495.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.12, allocations: 0 / 495.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1207, allocations: 0.6203 MB / 496 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1207, allocations: 4.062 kB / 496 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.1208, allocations: 23.92 kB / 496 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1208, allocations: 4 kB / 496 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1208, allocations: 4 kB / 496 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1208, allocations: 4 kB / 496 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1208, allocations: 0 / 496 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.1215, allocations: 1.013 MB / 497 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1215, allocations: 96.83 kB / 497.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.1216, allocations: 15.92 kB / 497.1 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1217, allocations: 8 kB / 497.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1218, allocations: 15.92 kB / 497.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.1218, allocations: 4 kB / 497.1 MB, free: 1.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003218/0.1221, allocations: 371.1 kB / 497.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1221, allocations: 0 / 497.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.1225, allocations: 43.89 kB / 497.5 MB, free: 1.531 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.0009561/0.1235, allocations: 465.3 kB / 498 MB, free: 1.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1238, allocations: 119.8 kB / 498.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1238, allocations: 0 / 498.1 MB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1239, allocations: 59.86 kB / 498.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1245, allocations: 61.23 kB / 498.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008486/0.1253, allocations: 0.7419 MB / 499 MB, free: 104 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1257, allocations: 0.7713 MB / 499.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.1258, allocations: 34.56 kB / 499.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.1258, allocations: 27.42 kB / 499.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1258, allocations: 0 / 499.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of Templates: time 0.005156/0.131, allocations: 2.698 MB / 0.4907 GB, free: 12.55 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches