Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HelmholtzMedia with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 179.2 kB / 15.43 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05277/0.05277, allocations: 9.31 MB / 25.49 MB, free: 3.473 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 253.5 MB, free: 10.22 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008427/0.0008428, allocations: 92.05 kB / 306.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 7.969 kB / 369.1 MB, free: 53.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 52.02 MB / 421.1 MB, free: 18.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01465/0.1198, allocations: 18.16 MB / 439.3 MB, free: 164 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00992/0.1297, allocations: 11.07 MB / 450.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.1299, allocations: 0 / 450.3 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1309, allocations: 328.2 kB / 450.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.1414, allocations: 3.695 MB / 454.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.443e-05/0.1415, allocations: 4 kB / 454.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1417, allocations: 143.1 kB / 454.5 MB, free: 424 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.1418, allocations: 5.125 kB / 454.5 MB, free: 420 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1419, allocations: 63.61 kB / 454.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.142, allocations: 39.8 kB / 454.6 MB, free: 316 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1421, allocations: 4 kB / 454.6 MB, free: 312 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.1539, allocations: 6.497 MB / 461.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.019e-05/0.154, allocations: 19.7 kB / 461.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1541, allocations: 73.45 kB / 461.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008779/0.1629, allocations: 3.106 MB / 464.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1629, allocations: 0 / 464.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1629, allocations: 0 / 464.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.163, allocations: 0 / 464.3 MB, free: 6.578 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001704/0.1647, allocations: 0.6822 MB / 465 MB, free: 5.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1647, allocations: 20.02 kB / 465 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.1649, allocations: 27.69 kB / 465 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.165, allocations: 174.9 kB / 465.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.165, allocations: 11.97 kB / 465.2 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1651, allocations: 4 kB / 465.2 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1653, allocations: 186.6 kB / 465.4 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1653, allocations: 0 / 465.4 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1654, allocations: 3.984 kB / 465.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.1654, allocations: 8 kB / 465.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1656, allocations: 244.2 kB / 465.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.1659, allocations: 290.6 kB / 465.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1662, allocations: 230.8 kB / 466.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1664, allocations: 181.1 kB / 466.3 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.1764, allocations: 4.157 MB / 470.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1765, allocations: 34.56 kB / 470.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.855e-06/0.1765, allocations: 3.938 kB / 470.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006254/0.1771, allocations: 488.9 kB / 471 MB, free: 15.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1772, allocations: 55.41 kB / 471.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.1773, allocations: 101.8 kB / 471.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1773, allocations: 29.7 kB / 471.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1774, allocations: 84.8 kB / 471.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.11e-05/0.1774, allocations: 126 kB / 471.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.1775, allocations: 4 kB / 471.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1776, allocations: 326.8 kB / 471.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.1777, allocations: 112 kB / 471.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1778, allocations: 138.8 kB / 472 MB, free: 14.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1781, allocations: 275 kB / 472.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1781, allocations: 4 kB / 472.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003734/0.1785, allocations: 326.5 kB / 472.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1786, allocations: 8 kB / 472.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1786, allocations: 0 / 472.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1786, allocations: 0 / 472.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1787, allocations: 31.92 kB / 472.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1787, allocations: 0 / 472.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.1788, allocations: 15.75 kB / 472.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1789, allocations: 4 kB / 472.6 MB, free: 13.45 MB / 346.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000108/0.179, allocations: 125.8 kB / 472.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.179, allocations: 11.84 kB / 472.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.1796, allocations: 383.9 kB / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.1796, allocations: 0 / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1796, allocations: 0 / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1796, allocations: 4 kB / 473.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.1799, allocations: 297.8 kB / 473.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1799, allocations: 4 kB / 473.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.18, allocations: 19.98 kB / 473.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.18, allocations: 4 kB / 473.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.18, allocations: 4 kB / 473.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.18, allocations: 0 / 473.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1801, allocations: 0 / 473.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1805, allocations: 436.9 kB / 473.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.1806, allocations: 105 kB / 474 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.1806, allocations: 4 kB / 474 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.1807, allocations: 8 kB / 474 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1807, allocations: 11.97 kB / 474 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1808, allocations: 4 kB / 474 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.067e-05/0.1808, allocations: 87.27 kB / 474.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1808, allocations: 0 / 474.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002131/0.1829, allocations: 0.6091 MB / 474.7 MB, free: 11.26 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003966/0.1869, allocations: 0.9994 MB / 475.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.1874, allocations: 337.7 kB / 476 MB, free: 9.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1874, allocations: 4.062 kB / 476 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.1876, allocations: 209.6 kB / 476.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.1882, allocations: 83.64 kB / 476.3 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.189, allocations: 464.5 kB / 476.8 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1894, allocations: 0.7134 MB / 477.5 MB, free: 8.398 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1895, allocations: 24.36 kB / 477.5 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1895, allocations: 19.42 kB / 477.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1895, allocations: 0 / 477.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of Templates: time 0.2177/0.4073, allocations: 24.86 MB / 0.4906 GB, free: 76.34 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)