Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001066/0.001066, allocations: 188 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.344/1.344, 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.202/0.202, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.98 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1188, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002903/0.1217, allocations: 1.714 MB / 472.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.123, allocations: 0.8886 MB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.1231, allocations: 3.938 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.1234, allocations: 91.69 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.1237, allocations: 79.72 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1241, allocations: 111.4 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1243, allocations: 111.7 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1244, allocations: 23.97 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/0.1245, allocations: 47.78 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1246, allocations: 67.75 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1246, allocations: 4 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1248, allocations: 63.91 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.1248, allocations: 27.91 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.1249, allocations: 35.75 kB / 474 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.1251, allocations: 139.5 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1252, allocations: 0 / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1252, allocations: 0 / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1252, allocations: 0 / 474.1 MB, free: 10.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005403/0.1257, allocations: 426.9 kB / 474.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1258, allocations: 12.03 kB / 474.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1258, allocations: 12.75 kB / 474.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1261, allocations: 212 kB / 474.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1261, allocations: 8.375 kB / 474.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1261, allocations: 4.125 kB / 474.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1263, allocations: 61.66 kB / 474.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1263, allocations: 11.91 kB / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1263, allocations: 0 / 474.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1264, allocations: 4 kB / 474.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.1264, allocations: 19.98 kB / 474.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.1268, allocations: 308.7 kB / 475.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.1271, allocations: 66.55 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1271, allocations: 20.97 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.1272, allocations: 0 / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.1273, allocations: 71.33 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1273, allocations: 0 / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007451/0.1281, allocations: 245.1 kB / 475.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1281, allocations: 59.34 kB / 475.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1283, allocations: 215.5 kB / 475.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1284, allocations: 29.7 kB / 475.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.1284, allocations: 116 kB / 476 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1285, allocations: 35.55 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.1285, allocations: 25.7 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1287, allocations: 330.8 kB / 476.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.1288, allocations: 27.98 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.1288, allocations: 45.7 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.129, allocations: 77.64 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.129, allocations: 0 / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002208/0.1292, allocations: 141.4 kB / 476.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1292, allocations: 11.92 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1293, allocations: 0 / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1293, allocations: 0 / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.1294, allocations: 20 kB / 476.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1294, allocations: 4.641 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.1294, allocations: 7.984 kB / 476.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.1294, allocations: 4 kB / 476.7 MB, free: 7.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001079/0.1296, allocations: 133.8 kB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1296, allocations: 19.78 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.743e-05/0.1296, allocations: 17.41 kB / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1297, allocations: 0 / 476.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1297, allocations: 3.938 kB / 476.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1297, allocations: 11.97 kB / 476.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.1302, allocations: 444.1 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1302, allocations: 0 / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.1302, allocations: 27.98 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1303, allocations: 0 / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1303, allocations: 4 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1303, allocations: 0 / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1303, allocations: 4 kB / 477.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1305, allocations: 232.9 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.1306, allocations: 97 kB / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1306, allocations: 0 / 477.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.1307, allocations: 4 kB / 477.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.1308, allocations: 11.98 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1308, allocations: 4 kB / 477.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1309, allocations: 175.5 kB / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 477.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1312, allocations: 31.91 kB / 477.9 MB, free: 6.102 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001168/0.1324, allocations: 0.511 MB / 478.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1326, allocations: 79.91 kB / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1326, allocations: 0 / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.1327, allocations: 43.86 kB / 478.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1331, allocations: 35.91 kB / 478.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.1336, allocations: 280.7 kB / 478.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1339, allocations: 0.7194 MB / 479.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.1339, allocations: 16.62 kB / 479.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.134, allocations: 27.42 kB / 479.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.134, allocations: 0 / 479.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of Templates: time 0.004748/0.1388, allocations: 1.951 MB / 481.5 MB, free: 2.617 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches