Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.0009615, allocations: 96.22 kB / 17 MB, free: 6.398 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.001634/0.001634, allocations: 177.2 kB / 17.89 MB, free: 5.945 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.487/1.487, allocations: 223.2 MB / 241.9 MB, free: 248 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.2312/0.2312, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 11.98 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001942/0.1316, allocations: 1.425 MB / 473 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1329, allocations: 0.8114 MB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.1329, allocations: 0 / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1332, allocations: 103.7 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1334, allocations: 75.78 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1337, allocations: 99.38 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1339, allocations: 111.7 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.134, allocations: 15.97 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1341, allocations: 55.78 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1343, allocations: 59.75 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1343, allocations: 0 / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1344, allocations: 47.98 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1345, allocations: 31.89 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.1345, allocations: 45.64 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1347, allocations: 112 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1347, allocations: 7.984 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1347, allocations: 0 / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1347, allocations: 0 / 474.6 MB, free: 10.69 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005843/0.1353, allocations: 430.7 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1354, allocations: 8.562 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1354, allocations: 15.81 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1357, allocations: 214.7 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1357, allocations: 8 kB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1358, allocations: 7.984 kB / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1359, allocations: 77.55 kB / 475.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1359, allocations: 3.938 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.136, allocations: 4 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.136, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1361, allocations: 35.97 kB / 475.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1365, allocations: 332.7 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1368, allocations: 70.48 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.1369, allocations: 28.84 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1369, allocations: 8.141 kB / 475.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1371, allocations: 79.31 kB / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.1371, allocations: 4 kB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008186/0.1379, allocations: 292.9 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.138, allocations: 55.39 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1382, allocations: 238.6 kB / 476.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1383, allocations: 33.7 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1384, allocations: 120 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.1384, allocations: 43.44 kB / 476.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.1384, allocations: 4 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1386, allocations: 334.8 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.1387, allocations: 35.98 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.1387, allocations: 60.44 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.75e-05/0.1388, allocations: 44 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1388, allocations: 0 / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002659/0.1391, allocations: 165.5 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1391, allocations: 7.938 kB / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1392, allocations: 0 / 477.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1392, allocations: 3.984 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1393, allocations: 31.92 kB / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1393, allocations: 0 / 477.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.1394, allocations: 8 kB / 477.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1394, allocations: 8.844 kB / 477.3 MB, free: 7.703 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.1395, allocations: 141.8 kB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1395, allocations: 19.84 kB / 477.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.1396, allocations: 21.53 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1396, allocations: 3.938 kB / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1396, allocations: 0 / 477.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1396, allocations: 7.984 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.1403, allocations: 0.4883 MB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1403, allocations: 4 kB / 478 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.1404, allocations: 23.88 kB / 478.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1404, allocations: 3.938 kB / 478.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.1404, allocations: 7.984 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1404, allocations: 3.953 kB / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1404, allocations: 0 / 478.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1407, allocations: 257.1 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.1408, allocations: 92.92 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.1408, allocations: 7.984 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.1409, allocations: 4 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.141, allocations: 19.88 kB / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.141, allocations: 4 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1412, allocations: 187 kB / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1412, allocations: 0 / 478.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1414, allocations: 43.89 kB / 478.7 MB, free: 6.262 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.1427, allocations: 0.5141 MB / 479.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.143, allocations: 107.9 kB / 479.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.143, allocations: 0 / 479.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.1431, allocations: 55.86 kB / 479.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1435, allocations: 30.23 kB / 479.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.1441, allocations: 347.8 kB / 479.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1445, allocations: 0.7242 MB / 480.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.013e-05/0.1446, allocations: 29.41 kB / 480.5 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.1447, allocations: 23.42 kB / 480.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1447, allocations: 0 / 480.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005139/0.1498, allocations: 2.008 MB / 482.5 MB, free: 2.605 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches