Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 173.9 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008145/0.0008143, allocations: 98.55 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3067/0.3067, allocations: 43.67 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004334, allocations: 16 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 58.85 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001755/0.1452, allocations: 1.394 MB / 492.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1463, allocations: 0.8253 MB / 493.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.1464, allocations: 7.938 kB / 493.4 MB, free: 7.781 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.1466, allocations: 31.91 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1468, allocations: 47.83 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.147, allocations: 71.84 kB / 493.5 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1472, allocations: 95.69 kB / 493.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.1472, allocations: 12.22 kB / 493.6 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1473, allocations: 39.78 kB / 493.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.1474, allocations: 35.78 kB / 493.7 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1474, allocations: 4 kB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.1475, allocations: 31.98 kB / 493.8 MB, free: 7.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1475, allocations: 15.92 kB / 493.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.1476, allocations: 57.44 kB / 493.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1478, allocations: 111.9 kB / 493.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1478, allocations: 4 kB / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1478, allocations: 0 / 493.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1478, allocations: 0 / 493.9 MB, free: 7.227 MB / 378.7 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.0004308/0.1482, allocations: 399 kB / 494.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1483, allocations: 12.03 kB / 494.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.1483, allocations: 8.844 kB / 494.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1485, allocations: 215.1 kB / 494.6 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1485, allocations: 4.375 kB / 494.6 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1486, allocations: 4.125 kB / 494.6 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1487, allocations: 53.67 kB / 494.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1487, allocations: 4 kB / 494.6 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1487, allocations: 4 kB / 494.6 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1487, allocations: 7.938 kB / 494.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1488, allocations: 19.92 kB / 494.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.1491, allocations: 284.9 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1493, allocations: 54.67 kB / 495 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1494, allocations: 20.86 kB / 495 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1494, allocations: 4 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1496, allocations: 71.23 kB / 495.1 MB, free: 5.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1496, allocations: 0 / 495.1 MB, free: 5.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004619/0.15, allocations: 173.3 kB / 495.3 MB, free: 5.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1501, allocations: 51.41 kB / 495.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1502, allocations: 186.1 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1503, allocations: 33.7 kB / 495.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1503, allocations: 108 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1504, allocations: 19.72 kB / 495.6 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1504, allocations: 0 / 495.6 MB, free: 5.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1505, allocations: 330.8 kB / 496 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.1505, allocations: 19.98 kB / 496 MB, free: 4.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.87e-05/0.1506, allocations: 33.7 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1507, allocations: 69.7 kB / 496.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1507, allocations: 0 / 496.1 MB, free: 4.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.1509, allocations: 93.59 kB / 496.2 MB, free: 4.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1509, allocations: 7.938 kB / 496.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1509, allocations: 0 / 496.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.151, allocations: 0 / 496.2 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.151, allocations: 23.97 kB / 496.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1511, allocations: 0 / 496.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/0.1511, allocations: 15.97 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1511, allocations: 0 / 496.2 MB, free: 4.711 MB / 378.7 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 (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.297e-05/0.1512, allocations: 125.8 kB / 496.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.1512, allocations: 7.906 kB / 496.4 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.1513, allocations: 16.72 kB / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1513, allocations: 0 / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1513, allocations: 4 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1513, allocations: 7.922 kB / 496.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1517, allocations: 391.2 kB / 496.8 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1517, allocations: 0 / 496.8 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1518, allocations: 15.88 kB / 496.8 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1518, allocations: 0 / 496.8 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1518, allocations: 12.31 kB / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1518, allocations: 0 / 496.8 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1518, allocations: 4 kB / 496.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.152, allocations: 204.3 kB / 497 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1521, allocations: 92.92 kB / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1521, allocations: 3.938 kB / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.1522, allocations: 7.984 kB / 497.1 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1522, allocations: 8 kB / 497.1 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1522, allocations: 4 kB / 497.1 MB, free: 3.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1524, allocations: 145.6 kB / 497.3 MB, free: 3.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1524, allocations: 192 / 497.3 MB, free: 3.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002245/0.1526, allocations: 24 kB / 497.3 MB, free: 3.559 MB / 378.7 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.0009754/0.1536, allocations: 0.5284 MB / 497.8 MB, free: 3.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.1537, allocations: 71.84 kB / 497.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1538, allocations: 0 / 497.9 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.1538, allocations: 23.98 kB / 497.9 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1541, allocations: 23.98 kB / 497.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.1545, allocations: 246.8 kB / 498.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1548, allocations: 0.7043 MB / 498.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.1549, allocations: 17.17 kB / 498.9 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1549, allocations: 19.44 kB / 498.9 MB, free: 2.008 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1549, allocations: 4 kB / 498.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of Templates: time 0.003678/0.1586, allocations: 1.624 MB / 0.4888 GB, free: 388 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches