Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001297/0.001297, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.426/1.426, allocations: 223.2 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2177/0.2177, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002062/0.1249, allocations: 1.588 MB / 473.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1264, allocations: 0.9552 MB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.1265, allocations: 3.938 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1268, allocations: 147.7 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.127, allocations: 119.6 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1274, allocations: 166.4 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1276, allocations: 219.3 kB / 475.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.1277, allocations: 25.69 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1279, allocations: 99.53 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.128, allocations: 123.5 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.128, allocations: 4 kB / 475.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1282, allocations: 59.98 kB / 475.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.669e-05/0.1282, allocations: 51.81 kB / 475.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.1283, allocations: 97.08 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1286, allocations: 211.4 kB / 476.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1286, allocations: 4 kB / 476.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1286, allocations: 0 / 476.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1286, allocations: 0 / 476.1 MB, free: 9.48 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006339/0.1293, allocations: 490.5 kB / 476.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1293, allocations: 15.95 kB / 476.6 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1294, allocations: 28.66 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1296, allocations: 267.5 kB / 476.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1297, allocations: 8.375 kB / 476.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1297, allocations: 12.03 kB / 476.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1299, allocations: 107.3 kB / 477 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1299, allocations: 4 kB / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.13, allocations: 0 / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.13, allocations: 0 / 477 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1301, allocations: 63.88 kB / 477.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.1306, allocations: 452.7 kB / 477.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.131, allocations: 133.1 kB / 477.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.1311, allocations: 45.83 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1311, allocations: 0 / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.1314, allocations: 125.1 kB / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1314, allocations: 0 / 477.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00118/0.1326, allocations: 489 kB / 478.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1326, allocations: 81.11 kB / 478.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.133, allocations: 355 kB / 478.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.133, allocations: 33.7 kB / 478.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.1331, allocations: 144.5 kB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.1332, allocations: 67.02 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1332, allocations: 25.7 kB / 479 MB, free: 6.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1334, allocations: 338.8 kB / 479.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.1335, allocations: 55.97 kB / 479.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1336, allocations: 95.28 kB / 479.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1339, allocations: 167.4 kB / 479.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1339, allocations: 0 / 479.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003538/0.1342, allocations: 225.2 kB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1343, allocations: 7.938 kB / 479.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1343, allocations: 0 / 479.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1343, allocations: 12.05 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1344, allocations: 43.92 kB / 479.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1345, allocations: 4 kB / 479.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.1345, allocations: 7.906 kB / 479.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1346, allocations: 15.98 kB / 479.9 MB, free: 5.359 MB / 350.1 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 (26): * Single equations (assignments): 26 * 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.0001358/0.1347, allocations: 162.2 kB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1347, allocations: 27.66 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.1348, allocations: 37.73 kB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1348, allocations: 4 kB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1348, allocations: 4 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.1348, allocations: 3.984 kB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008783/0.1357, allocations: 0.7193 MB / 480.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1357, allocations: 0 / 480.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.1358, allocations: 27.98 kB / 480.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1358, allocations: 4 kB / 480.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.1359, allocations: 7.984 kB / 480.9 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.1359, allocations: 4 kB / 480.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1359, allocations: 3.938 kB / 480.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1363, allocations: 419.5 kB / 481.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1364, allocations: 100.8 kB / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.1365, allocations: 11.98 kB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1367, allocations: 11.94 kB / 481.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.1367, allocations: 23.92 kB / 481.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1367, allocations: 15.98 kB / 481.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.137, allocations: 261.9 kB / 481.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.137, allocations: 0 / 481.8 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.1374, allocations: 48 kB / 481.8 MB, free: 3.359 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001196/0.1386, allocations: 0.522 MB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003634/0.1389, allocations: 159.8 kB / 482.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.139, allocations: 4 kB / 482.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.1391, allocations: 71.86 kB / 482.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1397, allocations: 64.72 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008775/0.1406, allocations: 0.5431 MB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.141, allocations: 0.7677 MB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1411, allocations: 37.91 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.1412, allocations: 35.42 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1412, allocations: 4 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Templates: time 0.006663/0.1479, allocations: 2.898 MB / 486.9 MB, free: 14.42 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches