Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001188, allocations: 103.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 192 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 44.18 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 65.22 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1046, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003805/0.1085, allocations: 2.228 MB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1105, allocations: 1.196 MB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1106, allocations: 7.938 kB / 474.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.111, allocations: 115.4 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1114, allocations: 179.1 kB / 474.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1121, allocations: 324.3 kB / 474.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.1125, allocations: 418.8 kB / 475.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1128, allocations: 64.7 kB / 475.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.113, allocations: 255.2 kB / 475.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1132, allocations: 155.2 kB / 475.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.1133, allocations: 12 kB / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1135, allocations: 71.98 kB / 475.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1136, allocations: 119.6 kB / 475.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1138, allocations: 186.5 kB / 476 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004391/0.1142, allocations: 430.2 kB / 476.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1142, allocations: 0 / 476.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1142, allocations: 0 / 476.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1143, allocations: 4 kB / 476.4 MB, free: 7.926 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001036/0.1153, allocations: 0.7934 MB / 477.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1153, allocations: 8.031 kB / 477.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.872e-05/0.1154, allocations: 60.27 kB / 477.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1159, allocations: 407.7 kB / 477.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.116, allocations: 8.375 kB / 477.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.116, allocations: 20.12 kB / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1164, allocations: 189 kB / 477.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1164, allocations: 7.906 kB / 477.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1164, allocations: 4 kB / 477.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1164, allocations: 4 kB / 477.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.1167, allocations: 99.84 kB / 478 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.1176, allocations: 0.782 MB / 478.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.1182, allocations: 258.4 kB / 479.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.1184, allocations: 87.53 kB / 479.1 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.1185, allocations: 8 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000338/0.1188, allocations: 198.3 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/0.1188, allocations: 0 / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002396/0.1212, allocations: 1.09 MB / 480.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.1214, allocations: 136.5 kB / 480.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.1222, allocations: 0.7489 MB / 481.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.1222, allocations: 45.69 kB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.1224, allocations: 236.9 kB / 481.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.1225, allocations: 146 kB / 481.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1226, allocations: 74.14 kB / 481.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1228, allocations: 374.8 kB / 482.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1231, allocations: 112.8 kB / 482.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1233, allocations: 183.1 kB / 482.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.1239, allocations: 327 kB / 482.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1239, allocations: 0 / 482.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007158/0.1246, allocations: 440.8 kB / 483.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1246, allocations: 6.969 kB / 483.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1246, allocations: 4 kB / 483.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.1247, allocations: 4 kB / 483.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.1249, allocations: 88.02 kB / 483.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.125, allocations: 4 kB / 483.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1251, allocations: 23.92 kB / 483.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.1251, allocations: 16 kB / 483.4 MB, free: 0.6328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002201/0.1254, allocations: 231.9 kB / 483.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.1255, allocations: 63.25 kB / 483.6 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1256, allocations: 73.44 kB / 483.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1256, allocations: 8 kB / 483.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1256, allocations: 7.984 kB / 483.7 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1256, allocations: 3.938 kB / 483.7 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.1274, allocations: 1.303 MB / 485 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.1275, allocations: 7.984 kB / 485 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1276, allocations: 59.92 kB / 485.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.1276, allocations: 4 kB / 485.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.1277, allocations: 15.98 kB / 485.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.1277, allocations: 7.938 kB / 485.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1277, allocations: 4 kB / 485.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007989/0.1285, allocations: 0.7775 MB / 485.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.1287, allocations: 168.3 kB / 486.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.1288, allocations: 15.98 kB / 486.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.129, allocations: 19.98 kB / 486.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.1291, allocations: 47.83 kB / 486.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.1292, allocations: 20 kB / 486.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006185/0.1298, allocations: 0.5457 MB / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1298, allocations: 0 / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.1303, allocations: 84 kB / 486.8 MB, free: 13.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001226/0.1316, allocations: 0.5276 MB / 487.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006124/0.1322, allocations: 323.6 kB / 487.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1322, allocations: 0 / 487.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.1325, allocations: 160.4 kB / 487.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/0.1334, allocations: 128 kB / 487.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.1349, allocations: 1.02 MB / 488.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.1353, allocations: 0.8782 MB / 489.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.1355, allocations: 83.23 kB / 489.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1356, allocations: 51.42 kB / 490 MB, free: 9.988 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1357, allocations: 0 / 490 MB, free: 9.988 MB / 366.1 MB Notification: Performance of Templates: time 0.009519/0.1452, allocations: 5.315 MB / 495.3 MB, free: 4.723 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches