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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002065/0.002065, allocations: 214.2 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.05521/0.05521, allocations: 9.128 MB / 321.5 MB, free: 10.24 MB / 254.1 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 0.002117/0.002117, allocations: 75.89 kB / 447 MB, free: 76 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1096, allocations: 54.94 MB / 0.4902 GB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02156/0.1312, allocations: 15.78 MB / 0.5056 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2624/0.3936, allocations: 14.86 MB / 0.5201 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3937, allocations: 3.688 kB / 0.5201 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007878/0.3945, allocations: 222.2 kB / 0.5203 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.4113, allocations: 6.322 MB / 0.5265 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.413, allocations: 0.5878 MB / 0.5271 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.4132, allocations: 191 kB / 0.5273 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.4133, allocations: 6.562 kB / 0.5273 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4134, allocations: 85.84 kB / 0.5274 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4135, allocations: 50.31 kB / 0.5274 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4135, allocations: 2.875 kB / 0.5274 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01708/0.4306, allocations: 6.804 MB / 0.5341 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.4307, allocations: 14.23 kB / 0.5341 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.4308, allocations: 49.59 kB / 0.5341 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01386/0.4446, allocations: 3.43 MB / 0.5375 GB, free: 5.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4447, allocations: 1.062 kB / 0.5375 GB, free: 5.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4447, allocations: 0 / 0.5375 GB, free: 5.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.4447, allocations: 0 / 0.5375 GB, free: 5.621 MB / 382.1 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.003382/0.448, allocations: 0.8417 MB / 0.5383 GB, free: 5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4481, allocations: 8.906 kB / 0.5383 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.4484, allocations: 24.56 kB / 0.5383 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.4486, allocations: 144.5 kB / 0.5385 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.4486, allocations: 6.094 kB / 0.5385 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.4487, allocations: 6.656 kB / 0.5385 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.4489, allocations: 133.2 kB / 0.5386 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4489, allocations: 3.938 kB / 0.5386 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4489, allocations: 4.531 kB / 0.5386 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4489, allocations: 6.859 kB / 0.5386 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.4491, allocations: 96.47 kB / 0.5387 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.4497, allocations: 422.9 kB / 0.5391 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.45, allocations: 115.1 kB / 0.5392 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.4501, allocations: 66.53 kB / 0.5393 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04928/0.4994, allocations: 10.92 MB / 0.5499 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.4994, allocations: 44.97 kB / 0.55 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 3.256e-06/0.4994, allocations: 0 / 0.55 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006653/0.5001, allocations: 230.6 kB / 0.5502 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.5001, allocations: 79.33 kB / 0.5503 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.5002, allocations: 117.6 kB / 0.5504 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.5002, allocations: 29.7 kB / 0.5504 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.5003, allocations: 90.75 kB / 0.5505 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.714e-05/0.5004, allocations: 80.75 kB / 0.5506 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.5004, allocations: 38.11 kB / 0.5506 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5006, allocations: 326.7 kB / 0.5509 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.5007, allocations: 47.73 kB / 0.551 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.5008, allocations: 71.91 kB / 0.551 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.501, allocations: 122 kB / 0.5512 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.501, allocations: 0 / 0.5512 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002668/0.5013, allocations: 165.3 kB / 0.5513 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5013, allocations: 9.688 kB / 0.5513 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5013, allocations: 0.5625 kB / 0.5513 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5013, allocations: 0 / 0.5513 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.5014, allocations: 25.69 kB / 0.5514 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5014, allocations: 3.984 kB / 0.5514 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.5015, allocations: 13.86 kB / 0.5514 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5016, allocations: 6.594 kB / 0.5514 GB, free: 15.27 MB / 398.1 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 0.0001134/0.5017, allocations: 119.9 kB / 0.5515 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.5017, allocations: 17.38 kB / 0.5515 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.5022, allocations: 314.7 kB / 0.5518 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003364/0.5025, allocations: 250.5 kB / 0.552 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5026, allocations: 0 / 0.552 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.5026, allocations: 3.984 kB / 0.5521 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5036, allocations: 0.6792 MB / 0.5527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.5036, allocations: 4 kB / 0.5527 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.5038, allocations: 35.92 kB / 0.5528 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5038, allocations: 4.562 kB / 0.5528 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.5038, allocations: 11.92 kB / 0.5528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5038, allocations: 7.938 kB / 0.5528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5038, allocations: 2 kB / 0.5528 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006959/0.5045, allocations: 0.5306 MB / 0.5533 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-05/0.5046, allocations: 15.84 kB / 0.5533 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.5046, allocations: 12.06 kB / 0.5533 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5048, allocations: 3.938 kB / 0.5533 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.5048, allocations: 20.48 kB / 0.5533 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.5048, allocations: 4 kB / 0.5533 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.16e-05/0.5049, allocations: 95.27 kB / 0.5534 GB, free: 13.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5049, allocations: 8.594 kB / 0.5534 GB, free: 13.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00388/0.5088, allocations: 0.9424 MB / 0.5544 GB, free: 12.31 MB / 398.1 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.00603/0.5148, allocations: 1.445 MB / 0.5558 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004852/0.5153, allocations: 247 kB / 0.556 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5153, allocations: 3.938 kB / 0.556 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5155, allocations: 99.91 kB / 0.5561 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5165, allocations: 146.8 kB / 0.5563 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.5176, allocations: 491 kB / 0.5567 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.5178, allocations: 125 kB / 0.5568 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.5181, allocations: 49.73 kB / 0.5569 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.5181, allocations: 23.44 kB / 0.5569 GB, free: 9.805 MB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5181, allocations: 0 / 0.5569 GB, free: 9.805 MB / 398.1 MB Notification: Performance of Templates: time 0.05138/0.5695, allocations: 28.51 MB / 0.5848 GB, free: 13.45 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.455291256308556] Failed to read output from testmodel.py, exit status != 0: 0.5780839137732983 0.593777675 0.145709489 Calling exit ...