Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001644, allocations: 104 kB / 16.27 MB, free: 6.043 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.001805/0.001805, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.592/1.592, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2681/0.2681, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001513/0.001513, allocations: 74.17 kB / 382.7 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1546, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003647/0.1583, allocations: 1.693 MB / 442.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1597, allocations: 0.7922 MB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1598, allocations: 7.938 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1602, allocations: 51.81 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1605, allocations: 59.69 kB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.1607, allocations: 79.78 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1609, allocations: 95.69 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.161, allocations: 16.5 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.1611, allocations: 39.8 kB / 443.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.1612, allocations: 27.84 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1612, allocations: 4 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.1613, allocations: 43.98 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.1614, allocations: 27.86 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.1615, allocations: 47.66 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1617, allocations: 127.6 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1617, allocations: 4 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1617, allocations: 0 / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1617, allocations: 4 kB / 443.6 MB, free: 3.777 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.0005968/0.1623, allocations: 438.6 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.1624, allocations: 15.89 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1624, allocations: 8.844 kB / 444.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1628, allocations: 231.4 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1628, allocations: 384 / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.1628, allocations: 12.03 kB / 444.3 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1631, allocations: 57.67 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.1631, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1631, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1631, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.1633, allocations: 19.98 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.1638, allocations: 288.9 kB / 444.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.164, allocations: 66.61 kB / 444.8 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.1641, allocations: 24.84 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.1641, allocations: 4 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.1644, allocations: 67.33 kB / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1644, allocations: 0 / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007027/0.1651, allocations: 185 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.1652, allocations: 51.41 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1655, allocations: 255.7 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1655, allocations: 33.7 kB / 445.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.1656, allocations: 112 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.1656, allocations: 23.73 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.1657, allocations: 25.7 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1659, allocations: 334.7 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.1659, allocations: 23.98 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.166, allocations: 33.7 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1661, allocations: 57.72 kB / 446 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1661, allocations: 3.938 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001814/0.1663, allocations: 105.4 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1664, allocations: 4 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1664, allocations: 4.031 kB / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.1664, allocations: 0 / 446.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1665, allocations: 16 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.1666, allocations: 3.984 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.1666, allocations: 11.88 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1666, allocations: 4 kB / 446.1 MB, free: 1.062 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 0.0001432/0.1668, allocations: 141.8 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1668, allocations: 15.81 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.1669, allocations: 21.39 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1669, allocations: 4 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1669, allocations: 0 / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1669, allocations: 3.938 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.1675, allocations: 403.2 kB / 446.7 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1675, allocations: 3.984 kB / 446.7 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.1675, allocations: 8 kB / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1675, allocations: 0 / 446.7 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1676, allocations: 7.938 kB / 446.7 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1676, allocations: 4.406 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1676, allocations: 0 / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1678, allocations: 204.2 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.1679, allocations: 97.09 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.168, allocations: 3.938 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.168, allocations: 7.938 kB / 447 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.1681, allocations: 11.98 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1681, allocations: 4 kB / 447 MB, free: 36 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.1684, allocations: 199.3 kB / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1684, allocations: 0 / 447.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1687, allocations: 16 kB / 447.2 MB, free: 15.82 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.001359/0.1701, allocations: 482.8 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1703, allocations: 63.91 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1703, allocations: 0 / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.882e-05/0.1704, allocations: 27.92 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1708, allocations: 33.17 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.1714, allocations: 276.1 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1718, allocations: 0.7236 MB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.1719, allocations: 8.891 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.1719, allocations: 19.42 kB / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1719, allocations: 0 / 448.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.005548/0.1775, allocations: 1.73 MB / 450.6 MB, free: 12.51 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches