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.001322/0.001322, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.00115/0.00115, allocations: 194 kB / 18.77 MB, free: 4.742 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2176/0.2176, allocations: 44.18 MB / 336.8 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.25 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1148, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004696/0.1196, allocations: 2.277 MB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1217, allocations: 1.181 MB / 472.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1219, allocations: 4 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.1223, allocations: 119.5 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.1228, allocations: 155.4 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000733/0.1236, allocations: 295 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.1241, allocations: 394.8 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1242, allocations: 48.73 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1246, allocations: 263 kB / 473.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.1249, allocations: 139.2 kB / 474 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.1249, allocations: 12 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1251, allocations: 63.91 kB / 474.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1252, allocations: 123.5 kB / 474.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1254, allocations: 174.6 kB / 474.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.1257, allocations: 307.6 kB / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1257, allocations: 0 / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1257, allocations: 4 kB / 474.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1257, allocations: 0 / 474.7 MB, free: 9.301 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.0009684/0.1267, allocations: 0.8012 MB / 475.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1268, allocations: 8.031 kB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.1269, allocations: 52.28 kB / 475.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.1273, allocations: 407.7 kB / 476 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1273, allocations: 8.375 kB / 476 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.1274, allocations: 28.11 kB / 476 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1277, allocations: 189.5 kB / 476.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1278, allocations: 7.844 kB / 476.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1278, allocations: 7.984 kB / 476.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1278, allocations: 4 kB / 476.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.128, allocations: 87.94 kB / 476.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009376/0.129, allocations: 0.7975 MB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.1296, allocations: 246.5 kB / 477.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.1299, allocations: 99.52 kB / 477.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.1299, allocations: 7.938 kB / 477.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.1303, allocations: 192.5 kB / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.1303, allocations: 0 / 477.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002595/0.1329, allocations: 1.083 MB / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.133, allocations: 140.5 kB / 478.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008876/0.1339, allocations: 0.7489 MB / 479.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.134, allocations: 37.7 kB / 479.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1342, allocations: 240.9 kB / 479.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1343, allocations: 138.1 kB / 480 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1344, allocations: 78.06 kB / 480.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1346, allocations: 378.8 kB / 480.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.1348, allocations: 112.8 kB / 480.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/0.1352, allocations: 183.2 kB / 480.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.1357, allocations: 319 kB / 481 MB, free: 2.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1357, allocations: 0 / 481 MB, free: 2.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007629/0.1365, allocations: 436.6 kB / 481.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1365, allocations: 12.12 kB / 481.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1366, allocations: 3.984 kB / 481.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1366, allocations: 4 kB / 481.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.1368, allocations: 87.89 kB / 481.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1369, allocations: 4 kB / 481.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.137, allocations: 23.92 kB / 481.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1371, allocations: 27.88 kB / 481.6 MB, free: 2 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.0002373/0.1373, allocations: 228 kB / 481.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.1374, allocations: 63.25 kB / 481.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.1375, allocations: 84.42 kB / 482 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1376, allocations: 4 kB / 482 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1376, allocations: 0 / 482 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1376, allocations: 7.938 kB / 482 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.1392, allocations: 1.299 MB / 483.3 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1393, allocations: 4.031 kB / 483.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.1394, allocations: 63.84 kB / 483.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1394, allocations: 4 kB / 483.4 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.1395, allocations: 20 kB / 483.4 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.1395, allocations: 7.984 kB / 483.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1395, allocations: 4 kB / 483.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1405, allocations: 0.7815 MB / 484.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1408, allocations: 164.3 kB / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.1408, allocations: 15.94 kB / 484.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.1411, allocations: 19.98 kB / 484.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.1412, allocations: 39.89 kB / 484.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.1413, allocations: 23.98 kB / 484.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005901/0.1419, allocations: 0.5496 MB / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1419, allocations: 0 / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005237/0.1424, allocations: 87.98 kB / 485.1 MB, free: 14.39 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.001207/0.1436, allocations: 0.5278 MB / 485.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.1443, allocations: 311.7 kB / 485.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1443, allocations: 3.938 kB / 485.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.1447, allocations: 159.8 kB / 486.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009319/0.1456, allocations: 117.8 kB / 486.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1474, allocations: 1.238 MB / 487.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.1479, allocations: 0.8792 MB / 488.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1481, allocations: 51.42 kB / 488.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1481, allocations: 4 kB / 488.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01072/0.1588, allocations: 6.257 MB / 494.6 MB, free: 4.996 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 -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