Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 104.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.001593/0.001593, allocations: 187 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.521/1.521, 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.2453/0.2453, allocations: 44.18 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 66.97 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1293, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003256/0.1325, allocations: 1.687 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1341, allocations: 0.8963 MB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.1341, allocations: 3.938 kB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1345, allocations: 83.75 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.1347, allocations: 67.67 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1351, allocations: 127.3 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1353, allocations: 103.7 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1354, allocations: 12.22 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.1355, allocations: 47.78 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1356, allocations: 55.81 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1357, allocations: 4 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1358, allocations: 43.97 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1359, allocations: 19.92 kB / 473.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.136, allocations: 39.69 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.1362, allocations: 123.6 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1362, allocations: 0 / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1362, allocations: 4 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1362, allocations: 0 / 474 MB, free: 10.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005034/0.1367, allocations: 410.9 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1367, allocations: 12.03 kB / 474.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.1368, allocations: 8.844 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1371, allocations: 212 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1371, allocations: 12.31 kB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1371, allocations: 8.125 kB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1373, allocations: 65.55 kB / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1373, allocations: 0 / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1373, allocations: 0 / 474.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1373, allocations: 4 kB / 474.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.1374, allocations: 15.98 kB / 474.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1378, allocations: 288.9 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.138, allocations: 62.62 kB / 475.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.138, allocations: 20.84 kB / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1381, allocations: 0 / 475.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.1382, allocations: 67.39 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1382, allocations: 4 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.1388, allocations: 181 kB / 475.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.1388, allocations: 51.41 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.139, allocations: 207.5 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.1391, allocations: 33.7 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1392, allocations: 108.1 kB / 475.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1392, allocations: 27.64 kB / 475.8 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1392, allocations: 21.72 kB / 475.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1394, allocations: 330.8 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.1395, allocations: 23.98 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.1395, allocations: 37.64 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1396, allocations: 53.72 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1397, allocations: 3.984 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1398, allocations: 101.5 kB / 476.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1399, allocations: 7.281 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1399, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1399, allocations: 4 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.14, allocations: 15.98 kB / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.14, allocations: 0 / 476.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.1401, allocations: 11.94 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1401, allocations: 0 / 476.4 MB, free: 7.758 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 (10): * Single equations (assignments): 10 * 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.0001047/0.1402, allocations: 129.8 kB / 476.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1402, allocations: 19.84 kB / 476.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.1403, allocations: 17.41 kB / 476.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1403, allocations: 11.91 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1403, allocations: 4.375 kB / 476.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1403, allocations: 4.125 kB / 476.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.1408, allocations: 391.3 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1408, allocations: 7.938 kB / 476.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.1408, allocations: 8 kB / 477 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1408, allocations: 4.031 kB / 477 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1408, allocations: 7.922 kB / 477 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1408, allocations: 4 kB / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1409, allocations: 0 / 477 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1411, allocations: 204.2 kB / 477.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1412, allocations: 85.02 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1412, allocations: 7.875 kB / 477.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1413, allocations: 8 kB / 477.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1413, allocations: 11.98 kB / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.1413, allocations: 0 / 477.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1414, allocations: 164.2 kB / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1415, allocations: 0 / 477.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1417, allocations: 27.98 kB / 477.5 MB, free: 6.559 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001057/0.1428, allocations: 455.2 kB / 477.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.143, allocations: 63.89 kB / 478 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.143, allocations: 0 / 478 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.1431, allocations: 28 kB / 478 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1434, allocations: 31.75 kB / 478 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005828/0.144, allocations: 247.2 kB / 478.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1445, allocations: 0.7079 MB / 479 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.1445, allocations: 12.88 kB / 479 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1446, allocations: 19.44 kB / 479 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1446, allocations: 0 / 479 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Templates: time 0.006231/0.1508, allocations: 1.721 MB / 480.7 MB, free: 3.43 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches