Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008682/0.0008684, allocations: 176.1 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04456/0.04456, allocations: 9.311 MB / 25.49 MB, free: 3.25 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.356/1.356, allocations: 225.7 MB / 253.5 MB, free: 10.13 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.0007593/0.0007596, allocations: 90.62 kB / 306.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 7.031 kB / 369.1 MB, free: 53.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09242, allocations: 52.03 MB / 421.1 MB, free: 18.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01432/0.1068, allocations: 19.03 MB / 440.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.1234, allocations: 19.44 MB / 459.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.1237, allocations: 4 kB / 459.6 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.1244, allocations: 268.3 kB / 459.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.1249, allocations: 203.1 kB / 460 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01711/0.142, allocations: 5.994 MB / 466 MB, free: 4.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.1425, allocations: 342.2 kB / 466.4 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.1426, allocations: 20.31 kB / 466.4 MB, free: 4.418 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.1429, allocations: 147.2 kB / 466.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1431, allocations: 103.5 kB / 466.6 MB, free: 4.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1431, allocations: 4 kB / 466.6 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/0.164, allocations: 8.772 MB / 475.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1641, allocations: 31.84 kB / 475.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1644, allocations: 117.2 kB / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01935/0.1838, allocations: 4.314 MB / 479.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1839, allocations: 0 / 479.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1839, allocations: 4 kB / 479.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1839, allocations: 0 / 479.9 MB, free: 6.895 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004228/0.1882, allocations: 1.084 MB / 481 MB, free: 5.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1882, allocations: 12.03 kB / 481 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.1883, allocations: 19.72 kB / 481 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1886, allocations: 190.7 kB / 481.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1886, allocations: 4 kB / 481.2 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1887, allocations: 4 kB / 481.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.1893, allocations: 180.2 kB / 481.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1894, allocations: 3.938 kB / 481.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1894, allocations: 4 kB / 481.4 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.1894, allocations: 7.984 kB / 481.4 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.1902, allocations: 192.2 kB / 481.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.1912, allocations: 489.2 kB / 482 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.1917, allocations: 178.9 kB / 482.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.1923, allocations: 161.7 kB / 482.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3465/0.5388, allocations: 91.75 MB / 0.5607 GB, free: 29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.5389, allocations: 44.8 kB / 0.5607 GB, free: 28.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/0.5389, allocations: 0 / 0.5607 GB, free: 28.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.000949/0.5399, allocations: 0.4919 MB / 0.5612 GB, free: 28.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.5399, allocations: 51.41 kB / 0.5612 GB, free: 28.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.54, allocations: 135 kB / 0.5614 GB, free: 28.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.54, allocations: 32.52 kB / 0.5614 GB, free: 28.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.5401, allocations: 98.58 kB / 0.5615 GB, free: 28.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.577e-05/0.5402, allocations: 147 kB / 0.5616 GB, free: 28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5402, allocations: 0 / 0.5616 GB, free: 28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.5403, allocations: 333.3 kB / 0.562 GB, free: 27.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.5405, allocations: 130.8 kB / 0.5621 GB, free: 27.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5407, allocations: 128.4 kB / 0.5622 GB, free: 27.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.5411, allocations: 309.4 kB / 0.5625 GB, free: 27.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5411, allocations: 0 / 0.5625 GB, free: 27.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005696/0.5417, allocations: 348.8 kB / 0.5628 GB, free: 26.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5417, allocations: 8 kB / 0.5628 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5417, allocations: 0 / 0.5628 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5417, allocations: 3.938 kB / 0.5628 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.5419, allocations: 27.97 kB / 0.5629 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5419, allocations: 3.719 kB / 0.5629 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.5421, allocations: 47.61 kB / 0.5629 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.5421, allocations: 3.984 kB / 0.5629 GB, free: 26.69 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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.822e-05/0.5422, allocations: 124 kB / 0.563 GB, free: 26.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.5422, allocations: 19.72 kB / 0.5631 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006471/0.5429, allocations: 425.9 kB / 0.5635 GB, free: 26.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5429, allocations: 18.8 kB / 0.5635 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5429, allocations: 0 / 0.5635 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.5429, allocations: 0 / 0.5635 GB, free: 26.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.5432, allocations: 285.7 kB / 0.5638 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5432, allocations: 0 / 0.5638 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5433, allocations: 31.97 kB / 0.5638 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5433, allocations: 0 / 0.5638 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5433, allocations: 4 kB / 0.5638 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5433, allocations: 9 kB / 0.5638 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5433, allocations: 0 / 0.5638 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.5439, allocations: 457.8 kB / 0.5642 GB, free: 25.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.5439, allocations: 116.7 kB / 0.5643 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.544, allocations: 15.41 kB / 0.5644 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.5441, allocations: 23.92 kB / 0.5644 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.5442, allocations: 11.98 kB / 0.5644 GB, free: 25.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.5442, allocations: 7.984 kB / 0.5644 GB, free: 25.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.5443, allocations: 105.9 kB / 0.5645 GB, free: 25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5443, allocations: 0 / 0.5645 GB, free: 25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002242/0.5465, allocations: 1.112 MB / 0.5656 GB, free: 24.05 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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004353/0.5509, allocations: 1.679 MB / 0.5672 GB, free: 22.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.5515, allocations: 323.2 kB / 0.5675 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5515, allocations: 0 / 0.5675 GB, free: 22.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.5518, allocations: 168.4 kB / 0.5677 GB, free: 22.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/0.5526, allocations: 156.7 kB / 0.5678 GB, free: 21.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.5533, allocations: 0.4927 MB / 0.5683 GB, free: 21.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5534, allocations: 0.7331 MB / 0.569 GB, free: 20.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.5535, allocations: 22.08 kB / 0.5691 GB, free: 20.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.5536, allocations: 19.44 kB / 0.5691 GB, free: 20.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5536, allocations: 0 / 0.5691 GB, free: 20.61 MB / 378.7 MB Notification: Performance of Templates: time 0.03764/0.5912, allocations: 30.32 MB / 0.5987 GB, free: 6.359 MB / 394.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)