Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.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.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.000912, allocations: 181 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0453/0.0453, allocations: 9.315 MB / 25.49 MB, free: 3.438 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.355/1.355, allocations: 225.7 MB / 253.5 MB, free: 10.16 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.0008294/0.0008294, allocations: 100.8 kB / 306.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 9.031 kB / 369.1 MB, free: 53.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.09939, allocations: 52.02 MB / 421.1 MB, free: 18.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01427/0.1137, allocations: 17.89 MB / 439 MB, free: 412 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.1196, allocations: 6.74 MB / 445.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.1197, allocations: 0 / 445.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007283/0.1204, allocations: 237.5 kB / 446 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.1205, allocations: 23.91 kB / 446 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.1306, allocations: 3.506 MB / 449.5 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1307, allocations: 51.73 kB / 449.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.1308, allocations: 4 kB / 449.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.131, allocations: 19.81 kB / 449.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.332e-05/0.131, allocations: 19.88 kB / 449.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1311, allocations: 0 / 449.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/0.1419, allocations: 5.799 MB / 455.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.1419, allocations: 0 / 455.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.1421, allocations: 41.53 kB / 455.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.1491, allocations: 2.724 MB / 458.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1491, allocations: 0 / 458.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.077e-06/0.1492, allocations: 4 kB / 458.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1492, allocations: 0 / 458.2 MB, free: 12.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001433/0.1506, allocations: 0.6123 MB / 458.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1507, allocations: 8.031 kB / 458.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.1507, allocations: 11.84 kB / 458.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1508, allocations: 159.1 kB / 459 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1509, allocations: 0 / 459 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1509, allocations: 0 / 459 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.151, allocations: 41.69 kB / 459 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.151, allocations: 0 / 459 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.151, allocations: 3.938 kB / 459 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.151, allocations: 4 kB / 459 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.1511, allocations: 15.94 kB / 459 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1512, allocations: 165.6 kB / 459.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.984e-05/0.1513, allocations: 34.56 kB / 459.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.1513, allocations: 20.89 kB / 459.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/0.168, allocations: 9.745 MB / 469 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.1681, allocations: 42.5 kB / 469 MB, free: 216 kB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 4.549e-06/0.1681, allocations: 0 / 469 MB, free: 216 kB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002255/0.1683, allocations: 81.55 kB / 469.1 MB, free: 128 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1683, allocations: 51.41 kB / 469.1 MB, free: 64 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.1684, allocations: 93.86 kB / 469.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1685, allocations: 25.7 kB / 469.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1685, allocations: 80.14 kB / 469.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1685, allocations: 27.64 kB / 469.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1685, allocations: 4.156 kB / 469.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1687, allocations: 314.8 kB / 469.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.1687, allocations: 11.94 kB / 469.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.1687, allocations: 12 kB / 469.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.1688, allocations: 36.78 kB / 469.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1688, allocations: 4 kB / 469.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.995e-05/0.1688, allocations: 57.69 kB / 469.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1689, allocations: 7.938 kB / 469.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.1689, allocations: 0 / 469.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1689, allocations: 8.062 kB / 469.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.1689, allocations: 0 / 469.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1689, allocations: 0 / 469.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.1689, allocations: 3.906 kB / 469.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.169, allocations: 3.984 kB / 469.8 MB, free: 15.35 MB / 346.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 (inletState.phase) * 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: 0 * Record equations: 1 * 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 7.525e-05/0.169, allocations: 116.2 kB / 469.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.437e-06/0.1691, allocations: 7.922 kB / 469.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.1692, allocations: 170.8 kB / 470.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/0.1693, allocations: 180.3 kB / 470.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/0.1693, allocations: 184.2 kB / 470.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.348e-05/0.1694, allocations: 180.3 kB / 470.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1697, allocations: 405.2 kB / 471 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.174e-05/0.1697, allocations: 108.9 kB / 471.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1697, allocations: 105 kB / 471.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.953e-05/0.1698, allocations: 188.1 kB / 471.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.1699, allocations: 176.3 kB / 471.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.275e-05/0.17, allocations: 180.3 kB / 471.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.44e-05/0.17, allocations: 188.1 kB / 472 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.1702, allocations: 315.7 kB / 472.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.1703, allocations: 198 kB / 472.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.1704, allocations: 176.3 kB / 472.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.1705, allocations: 104.9 kB / 472.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.1705, allocations: 180.3 kB / 472.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.1706, allocations: 108.9 kB / 473 MB, free: 11.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.897e-05/0.1706, allocations: 103.2 kB / 473.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 473.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001815/0.1725, allocations: 0.6012 MB / 473.7 MB, free: 11.2 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.002451/0.1749, allocations: 1.03 MB / 474.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.175, allocations: 27.91 kB / 474.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.175, allocations: 4 kB / 474.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.175, allocations: 0 / 474.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1756, allocations: 0.5497 MB / 475.3 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1759, allocations: 225.1 kB / 475.6 MB, free: 9.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.1761, allocations: 0.6848 MB / 476.2 MB, free: 8.617 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1761, allocations: 3.938 kB / 476.2 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.137e-05/0.1762, allocations: 11.44 kB / 476.3 MB, free: 8.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1762, allocations: 0 / 476.3 MB, free: 8.605 MB / 346.7 MB Notification: Performance of Templates: time 0.02616/0.2023, allocations: 19.51 MB / 495.8 MB, free: 5.082 MB / 362.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)