Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 169 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8798/0.8798, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02946/0.02946, allocations: 7.53 MB / 267.8 MB, free: 5.859 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 339.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.495e-05, allocations: 2.312 kB / 339.1 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.03097/0.03098, allocations: 17.36 MB / 356.5 MB, free: 9.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02155/0.05253, allocations: 16.89 MB / 373.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.05257, allocations: 0 / 373.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.05302, allocations: 263.1 kB / 373.6 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.06163, allocations: 6.942 MB / 380.6 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.06235, allocations: 0.6766 MB / 381.2 MB, free: 420 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.06248, allocations: 218.8 kB / 381.5 MB, free: 200 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.06252, allocations: 5.312 kB / 381.5 MB, free: 192 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.06264, allocations: 127.6 kB / 381.6 MB, free: 64 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.0627, allocations: 47.84 kB / 381.6 MB, free: 16 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.06271, allocations: 4 kB / 381.6 MB, free: 12 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00717/0.06988, allocations: 7.043 MB / 388.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.0699, allocations: 15.92 kB / 388.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.06994, allocations: 43.86 kB / 388.7 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00386/0.0738, allocations: 4.025 MB / 392.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.0738, allocations: 0 / 392.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0738, allocations: 4 kB / 392.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.07381, allocations: 0 / 392.8 MB, free: 4.855 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008534/0.07466, allocations: 0.9403 MB / 393.7 MB, free: 3.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.07469, allocations: 12.62 kB / 393.7 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.0748, allocations: 39.8 kB / 393.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.0749, allocations: 135.9 kB / 393.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.07491, allocations: 7.984 kB / 393.9 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.07492, allocations: 8 kB / 393.9 MB, free: 3.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.94e-05/0.07502, allocations: 91.59 kB / 394 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.07503, allocations: 0 / 394 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.07504, allocations: 4 kB / 394 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.07504, allocations: 7.984 kB / 394 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.07509, allocations: 35.98 kB / 394 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.07545, allocations: 486.9 kB / 394.5 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.07558, allocations: 106.3 kB / 394.6 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.07562, allocations: 59.31 kB / 394.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.09479, allocations: 8.443 MB / 403.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.09482, allocations: 49.25 kB / 403.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.09482, allocations: 0 / 403.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002942/0.09511, allocations: 182 kB / 403.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.09514, allocations: 85.05 kB / 403.4 MB, free: 10 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.09521, allocations: 169.9 kB / 403.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.09522, allocations: 29.7 kB / 403.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.09525, allocations: 135.4 kB / 403.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.0953, allocations: 87.2 kB / 403.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.09534, allocations: 47.34 kB / 403.9 MB, free: 9.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.09545, allocations: 0.5039 MB / 404.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.09547, allocations: 19.98 kB / 404.4 MB, free: 8.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.09551, allocations: 51.33 kB / 404.5 MB, free: 8.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.158e-05/0.09558, allocations: 94.16 kB / 404.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.09558, allocations: 0 / 404.6 MB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001132/0.09569, allocations: 129.4 kB / 404.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.09571, allocations: 7.938 kB / 404.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.09571, allocations: 4 kB / 404.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.09572, allocations: 0 / 404.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.09578, allocations: 27.92 kB / 404.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.09578, allocations: 0 / 404.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.09581, allocations: 15.89 kB / 404.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.09582, allocations: 4.156 kB / 404.7 MB, free: 8.629 MB / 330.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: 2 (state_p.phase,state_h.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 6.576e-05/0.09589, allocations: 160.6 kB / 404.9 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.09592, allocations: 23.84 kB / 404.9 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.09612, allocations: 217.8 kB / 405.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/0.09623, allocations: 168.2 kB / 405.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.09623, allocations: 0 / 405.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.09624, allocations: 3.984 kB / 405.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.09672, allocations: 0.6878 MB / 406 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.09672, allocations: 0 / 406 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.295e-05/0.0968, allocations: 40.11 kB / 406 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.0968, allocations: 3.938 kB / 406 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.09681, allocations: 8 kB / 406 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.09682, allocations: 3.938 kB / 406 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.09682, allocations: 3.938 kB / 406 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.09709, allocations: 0.4915 MB / 406.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.09711, allocations: 35.78 kB / 406.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.09712, allocations: 4 kB / 406.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.09718, allocations: 0 / 406.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.0972, allocations: 23.91 kB / 406.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.09721, allocations: 4 kB / 406.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.773e-05/0.09725, allocations: 135.2 kB / 406.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09725, allocations: 0 / 406.7 MB, free: 6.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001189/0.09843, allocations: 0.9385 MB / 407.7 MB, free: 5.617 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.002068/0.1005, allocations: 1.587 MB / 409.3 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1007, allocations: 194.6 kB / 409.5 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.1007, allocations: 3.938 kB / 409.5 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.1007, allocations: 95.27 kB / 409.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1012, allocations: 144 kB / 409.7 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.1019, allocations: 434 kB / 410.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.785e-05/0.1019, allocations: 88.81 kB / 410.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.664e-05/0.102, allocations: 42.09 kB / 410.2 MB, free: 2.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.1022, allocations: 170.1 kB / 410.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1022, allocations: 0 / 410.4 MB, free: 2.797 MB / 330.7 MB Notification: Performance of Templates: time 0.114/0.2162, allocations: 32.71 MB / 443.1 MB, free: 41.51 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6868300209753215]