Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 170.5 kB / 16.07 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.379/1.379, allocations: 205.6 MB / 222.4 MB, free: 8.941 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.0008601/0.0008597, allocations: 90.78 kB / 270.8 MB, free: 8.129 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.4471/0.4471, allocations: 43.68 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004025, allocations: 11.98 kB / 432.3 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 58.84 MB / 491.1 MB, free: 9.836 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0007477/0.1597, allocations: 220.5 kB / 491.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007368/0.1605, allocations: 407.2 kB / 491.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.262e-05/0.1605, allocations: 0 / 491.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.1605, allocations: 0 / 491.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.954e-06/0.1605, allocations: 0 / 491.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1608, allocations: 43.89 kB / 491.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.607e-05/0.1609, allocations: 0 / 491.8 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.1609, allocations: 4 kB / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.161, allocations: 0 / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.529e-05/0.161, allocations: 0 / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-06/0.161, allocations: 0 / 491.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1611, allocations: 59.95 kB / 491.9 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-06/0.1612, allocations: 0 / 491.9 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1612, allocations: 29.69 kB / 491.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1613, allocations: 59.88 kB / 492 MB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1614, allocations: 0 / 492 MB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1614, allocations: 0 / 492 MB, free: 8.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1614, allocations: 0 / 492 MB, free: 8.988 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003357/0.1617, allocations: 353.3 kB / 492.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1618, allocations: 8.031 kB / 492.3 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1618, allocations: 4.938 kB / 492.3 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1619, allocations: 164.4 kB / 492.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.162, allocations: 384 / 492.5 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.162, allocations: 4.375 kB / 492.5 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.1621, allocations: 30.2 kB / 492.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1621, allocations: 192 / 492.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1621, allocations: 3.938 kB / 492.5 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1621, allocations: 3.938 kB / 492.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.15e-05/0.1622, allocations: 4 kB / 492.5 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.1623, allocations: 154.8 kB / 492.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.1624, allocations: 18.61 kB / 492.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.1624, allocations: 8.797 kB / 492.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.1624, allocations: 0 / 492.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.1625, allocations: 56.27 kB / 492.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1625, allocations: 0 / 492.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000226/0.1627, allocations: 75.3 kB / 492.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1628, allocations: 81.23 kB / 492.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.049e-05/0.1628, allocations: 89.86 kB / 493 MB, free: 7.734 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1629, allocations: 29.7 kB / 493 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.1629, allocations: 80.14 kB / 493.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1629, allocations: 3.938 kB / 493.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.1629, allocations: 0 / 493.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1631, allocations: 310.8 kB / 493.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.1631, allocations: 0 / 493.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-06/0.1631, allocations: 11.94 kB / 493.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.1632, allocations: 60.27 kB / 493.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1632, allocations: 4 kB / 493.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.965e-05/0.1633, allocations: 59.39 kB / 493.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.1633, allocations: 33.7 kB / 493.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1633, allocations: 0 / 493.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1634, allocations: 7.922 kB / 493.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.1634, allocations: 0 / 493.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1634, allocations: 0 / 493.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.1634, allocations: 4.094 kB / 493.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1634, allocations: 0 / 493.6 MB, free: 7.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001053/0.1635, allocations: 143.5 kB / 493.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.1635, allocations: 3.938 kB / 493.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.1636, allocations: 7.062 kB / 493.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.1636, allocations: 0 / 493.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1636, allocations: 4 kB / 493.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1636, allocations: 0 / 493.7 MB, free: 6.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.155e-05/0.1637, allocations: 146 kB / 493.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1637, allocations: 4 kB / 493.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1637, allocations: 3.938 kB / 493.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1637, allocations: 0 / 493.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1637, allocations: 7.938 kB / 493.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.1637, allocations: 0 / 493.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1637, allocations: 0 / 493.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.1638, allocations: 90.81 kB / 494 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.1639, allocations: 81.11 kB / 494.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1639, allocations: 7.969 kB / 494.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.1639, allocations: 4 kB / 494.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.164, allocations: 0 / 494.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.164, allocations: 4 kB / 494.1 MB, free: 6.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.164, allocations: 75.28 kB / 494.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 3.938 kB / 494.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.1642, allocations: 23.98 kB / 494.2 MB, free: 6.383 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0006013/0.1648, allocations: 310.5 kB / 494.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.165, allocations: 59.41 kB / 494.5 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.165, allocations: 0 / 494.5 MB, free: 6.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.165, allocations: 55.41 kB / 494.6 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.1651, allocations: 3.938 kB / 494.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.1654, allocations: 86.81 kB / 494.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.1656, allocations: 0.6692 MB / 495.4 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.111e-06/0.1656, allocations: 0 / 495.4 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-06/0.1656, allocations: 7.438 kB / 495.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.1656, allocations: 4 kB / 495.4 MB, free: 5.18 MB / 378.7 MB Notification: Performance of Templates: time 0.003154/0.1688, allocations: 0.7842 MB / 496.1 MB, free: 4.398 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches