Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 104.5 kB / 16.27 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.001344/0.001344, allocations: 189.2 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2501/0.2501, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 69.77 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1461, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00339/0.1495, allocations: 1.685 MB / 442.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1507, allocations: 0.8039 MB / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.1508, allocations: 0 / 443 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.1512, allocations: 83.75 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.1515, allocations: 75.67 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1517, allocations: 83.75 kB / 443.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1519, allocations: 111.7 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.152, allocations: 16.5 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.1521, allocations: 47.77 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1522, allocations: 59.81 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1523, allocations: 7.938 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.1524, allocations: 39.98 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1524, allocations: 19.92 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1525, allocations: 43.73 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1527, allocations: 111.6 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1527, allocations: 3.984 kB / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1527, allocations: 0 / 443.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1527, allocations: 3.938 kB / 443.7 MB, free: 3.691 MB / 318.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.0004778/0.1532, allocations: 414.9 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1532, allocations: 11.89 kB / 444.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1533, allocations: 16.75 kB / 444.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1535, allocations: 208 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1535, allocations: 4.375 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.1535, allocations: 12.11 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1537, allocations: 53.67 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1537, allocations: 0 / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1537, allocations: 0 / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1537, allocations: 0 / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.1538, allocations: 23.98 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.1541, allocations: 296.7 kB / 444.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1543, allocations: 58.67 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.1544, allocations: 24.86 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1544, allocations: 4 kB / 444.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.1546, allocations: 67.27 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1546, allocations: 4 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.1552, allocations: 169.3 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1552, allocations: 59.34 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1554, allocations: 211.6 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1554, allocations: 29.64 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.1554, allocations: 104.1 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1555, allocations: 27.64 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1555, allocations: 21.72 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.1556, allocations: 334.8 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.1556, allocations: 20 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.1557, allocations: 37.7 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.218e-05/0.1558, allocations: 57.64 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1558, allocations: 0 / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00015/0.1559, allocations: 109.5 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.156, allocations: 4 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.156, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.156, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.1561, allocations: 23.92 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1561, allocations: 0 / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.1561, allocations: 3.938 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1562, allocations: 4 kB / 446.1 MB, free: 1.09 MB / 318.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 9.198e-05/0.1563, allocations: 137.3 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.1563, allocations: 11.91 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.1563, allocations: 21.39 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1563, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1564, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1564, allocations: 3.938 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/0.1567, allocations: 395.2 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1567, allocations: 3.984 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.1568, allocations: 11.98 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1568, allocations: 8.031 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1568, allocations: 8.312 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1568, allocations: 3.938 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1568, allocations: 0 / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.157, allocations: 200.3 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.157, allocations: 85.11 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.157, allocations: 15.92 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.1571, allocations: 7.938 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1572, allocations: 4 kB / 447 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1572, allocations: 7.984 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1573, allocations: 163.2 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1573, allocations: 0 / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1576, allocations: 24 kB / 447.2 MB, free: 15.89 MB / 334.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.001071/0.1587, allocations: 466.5 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.1589, allocations: 63.91 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1589, allocations: 0 / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.1589, allocations: 23.98 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1593, allocations: 28.11 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.1599, allocations: 255 kB / 448 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1602, allocations: 0.7157 MB / 448.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.1603, allocations: 8.891 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.1603, allocations: 19.42 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1603, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Templates: time 0.005383/0.1657, allocations: 1.697 MB / 450.4 MB, free: 12.68 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches