Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001707/0.001708, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.525/1.525, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2165/0.2165, allocations: 44.24 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003539, allocations: 13.23 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 61.92 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003444/0.1537, allocations: 1.617 MB / 473.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1553, allocations: 0.8849 MB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1554, allocations: 0 / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1558, allocations: 27.8 kB / 474.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1561, allocations: 55.81 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.1564, allocations: 111.8 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1567, allocations: 127.6 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1568, allocations: 33.47 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1569, allocations: 51.66 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1571, allocations: 43.72 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1571, allocations: 4 kB / 475.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1572, allocations: 43.97 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.1573, allocations: 23.92 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.1574, allocations: 65.39 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1576, allocations: 143.7 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1576, allocations: 0 / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1576, allocations: 0 / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1577, allocations: 0 / 475.5 MB, free: 10.05 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006977/0.1584, allocations: 468.6 kB / 475.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1584, allocations: 11.97 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.1585, allocations: 16.75 kB / 476 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1588, allocations: 223.9 kB / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1588, allocations: 384 / 476.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1589, allocations: 16.12 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1591, allocations: 108.2 kB / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1591, allocations: 0 / 476.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1592, allocations: 4 kB / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1592, allocations: 0 / 476.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.1593, allocations: 51.91 kB / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.16, allocations: 0.5126 MB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1604, allocations: 90.66 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1605, allocations: 36.84 kB / 477 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1605, allocations: 4 kB / 477 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.1608, allocations: 87.31 kB / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1608, allocations: 0 / 477.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000416/0.1612, allocations: 149.4 kB / 477.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1613, allocations: 59.33 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1615, allocations: 187.5 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1615, allocations: 33.7 kB / 477.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.1616, allocations: 119.9 kB / 477.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1617, allocations: 27.61 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1617, allocations: 17.72 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1618, allocations: 322.8 kB / 478 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.1619, allocations: 31.98 kB / 478 MB, free: 7.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1621, allocations: 68.27 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1623, allocations: 104.5 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1623, allocations: 8 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002818/0.1626, allocations: 137.4 kB / 478.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1626, allocations: 4 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1626, allocations: 0 / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1626, allocations: 4 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1627, allocations: 27.92 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1628, allocations: 4.125 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.1628, allocations: 15.84 kB / 478.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1629, allocations: 4 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001192/0.163, allocations: 129.8 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.163, allocations: 15.81 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1631, allocations: 17.41 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1631, allocations: 3.938 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1631, allocations: 3.984 kB / 478.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1631, allocations: 7.984 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1633, allocations: 209.6 kB / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1633, allocations: 0 / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.426e-05/0.1634, allocations: 12 kB / 478.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1634, allocations: 0 / 478.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1634, allocations: 8 kB / 478.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1634, allocations: 3.938 kB / 478.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1634, allocations: 0 / 478.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.1638, allocations: 189 kB / 479 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1639, allocations: 104.8 kB / 479.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.1639, allocations: 7.984 kB / 479.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.164, allocations: 7.938 kB / 479.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1641, allocations: 7.984 kB / 479.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1641, allocations: 12.06 kB / 479.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1642, allocations: 137.2 kB / 479.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1642, allocations: 3.938 kB / 479.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.1644, allocations: 28.12 kB / 479.3 MB, free: 5.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.000965/0.1654, allocations: 403 kB / 479.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.1657, allocations: 91.95 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1657, allocations: 0 / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1658, allocations: 39.92 kB / 479.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1661, allocations: 34.2 kB / 479.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.1667, allocations: 302.3 kB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.167, allocations: 0.7203 MB / 480.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1671, allocations: 17.41 kB / 480.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.1671, allocations: 15.44 kB / 480.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1671, allocations: 4 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of Templates: time 0.004794/0.1719, allocations: 1.762 MB / 482.6 MB, free: 2.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches