Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 93.41 kB / 17.35 MB, free: 6.371 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.001966/0.001967, allocations: 174.3 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.451/1.451, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2164/0.2164, allocations: 44.24 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003531, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1479, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002611/0.1506, allocations: 1.621 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1522, allocations: 0.8772 MB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1524, allocations: 7.938 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.1527, allocations: 35.83 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1529, allocations: 47.83 kB / 474.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.1533, allocations: 114.9 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1536, allocations: 127.6 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1537, allocations: 21.48 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1538, allocations: 59.64 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.1539, allocations: 43.72 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.154, allocations: 0 / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1541, allocations: 40 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.1542, allocations: 27.89 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.77e-05/0.1543, allocations: 73.39 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1545, allocations: 143.7 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1545, allocations: 0 / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1545, allocations: 7.938 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1546, allocations: 0 / 475.5 MB, free: 10.07 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.0006776/0.1552, allocations: 454.9 kB / 475.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1553, allocations: 12.03 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1554, allocations: 16.75 kB / 476 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1556, allocations: 223.9 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.1557, allocations: 8.375 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.1557, allocations: 12.11 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.156, allocations: 108.2 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.156, allocations: 0 / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.156, allocations: 4 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.156, allocations: 7.984 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1562, allocations: 55.91 kB / 476.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.1569, allocations: 0.5048 MB / 476.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.1572, allocations: 90.66 kB / 477 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1573, allocations: 40.84 kB / 477 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1574, allocations: 4 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.1576, allocations: 87.31 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1576, allocations: 0 / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004211/0.1581, allocations: 149.4 kB / 477.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1581, allocations: 59.34 kB / 477.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.1584, allocations: 191.5 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1584, allocations: 25.7 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.1585, allocations: 119.9 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1586, allocations: 23.62 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.1586, allocations: 21.7 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1588, allocations: 326.8 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.629e-05/0.1589, allocations: 31.98 kB / 478 MB, free: 7.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.159, allocations: 64.64 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.1592, allocations: 112.1 kB / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1592, allocations: 0 / 478.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002811/0.1595, allocations: 129.6 kB / 478.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1595, allocations: 14.34 kB / 478.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1595, allocations: 3.984 kB / 478.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1596, allocations: 0 / 478.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1597, allocations: 27.94 kB / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1597, allocations: 7.984 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.1598, allocations: 15.84 kB / 478.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1598, allocations: 4 kB / 478.4 MB, free: 6.883 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.0001206/0.1599, allocations: 133.8 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.16, allocations: 15.8 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.16, allocations: 13.41 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.16, allocations: 7.938 kB / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.16, allocations: 0 / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.16, allocations: 0 / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1602, allocations: 209.6 kB / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1603, allocations: 0 / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.1603, allocations: 15.98 kB / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1604, allocations: 0 / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1604, allocations: 4 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1604, allocations: 7.938 kB / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1604, allocations: 0 / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.1608, allocations: 196.8 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.1609, allocations: 92.89 kB / 479.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1609, allocations: 4.062 kB / 479.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.161, allocations: 19.92 kB / 479.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1611, allocations: 3.984 kB / 479.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1611, allocations: 4 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.1612, allocations: 141.2 kB / 479.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1612, allocations: 3.938 kB / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1615, allocations: 28.12 kB / 479.3 MB, free: 5.906 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.001177/0.1627, allocations: 415 kB / 479.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1631, allocations: 83.89 kB / 479.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1631, allocations: 3.938 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1632, allocations: 35.98 kB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1635, allocations: 38.88 kB / 479.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.1642, allocations: 298.2 kB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1646, allocations: 0.7125 MB / 480.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.516e-05/0.1647, allocations: 17.42 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1647, allocations: 19.44 kB / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1647, allocations: 0 / 480.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of Templates: time 0.005311/0.17, allocations: 1.778 MB / 482.7 MB, free: 2.645 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches