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.001492/0.001492, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001687/0.001687, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.384/1.384, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.04863/0.04863, allocations: 7.519 MB / 266.7 MB, free: 9.637 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 1.212e-06/1.212e-06, allocations: 0 / 392.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.861e-05, allocations: 5.797 kB / 392.3 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01887/0.01889, allocations: 15.76 MB / 408 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.03491, allocations: 14.87 MB / 422.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.03498, allocations: 0 / 422.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.03563, allocations: 231.2 kB / 423.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.0503, allocations: 6.414 MB / 429.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.05167, allocations: 0.6102 MB / 430.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.05188, allocations: 194.9 kB / 430.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.05192, allocations: 5.312 kB / 430.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.0521, allocations: 119.6 kB / 430.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.05219, allocations: 35.91 kB / 430.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.05221, allocations: 4 kB / 430.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.06453, allocations: 6.856 MB / 437.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.06455, allocations: 11.88 kB / 437.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.06463, allocations: 43.91 kB / 437.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.07262, allocations: 4.041 MB / 441.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.07262, allocations: 0 / 441.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.07262, allocations: 0 / 441.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.07263, allocations: 0 / 441.4 MB, free: 9.027 MB / 366.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.001812/0.07444, allocations: 0.8369 MB / 442.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.07448, allocations: 12.62 kB / 442.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.07467, allocations: 31.83 kB / 442.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.07488, allocations: 137 kB / 442.5 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.0749, allocations: 8 kB / 442.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.07492, allocations: 4 kB / 442.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.07514, allocations: 139.4 kB / 442.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.07515, allocations: 0 / 442.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.07516, allocations: 0 / 442.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.07517, allocations: 7.984 kB / 442.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.07532, allocations: 99.91 kB / 442.7 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.0759, allocations: 424.4 kB / 443.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.07615, allocations: 109.1 kB / 443.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.07625, allocations: 65.77 kB / 443.3 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.197/0.2732, allocations: 10.93 MB / 454.2 MB, free: 68.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.2732, allocations: 33.58 kB / 454.3 MB, free: 68.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.515e-06/0.2732, allocations: 3.625 kB / 454.3 MB, free: 68.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006212/0.2739, allocations: 227.3 kB / 454.5 MB, free: 68.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2739, allocations: 83.55 kB / 454.6 MB, free: 67.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/0.274, allocations: 117.6 kB / 454.7 MB, free: 67.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.274, allocations: 30.53 kB / 454.7 MB, free: 67.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.274, allocations: 91.19 kB / 454.8 MB, free: 67.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.2741, allocations: 80.67 kB / 454.9 MB, free: 67.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.2741, allocations: 42.86 kB / 454.9 MB, free: 67.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.2742, allocations: 321.7 kB / 455.2 MB, free: 67.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.2742, allocations: 44.47 kB / 455.3 MB, free: 67.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.2743, allocations: 75.66 kB / 455.3 MB, free: 67.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.2745, allocations: 122.1 kB / 455.5 MB, free: 67.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2745, allocations: 0 / 455.5 MB, free: 67.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002179/0.2747, allocations: 169.1 kB / 455.6 MB, free: 67.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2747, allocations: 10.42 kB / 455.6 MB, free: 67.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2747, allocations: 1.094 kB / 455.6 MB, free: 67.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2747, allocations: 3.688 kB / 455.6 MB, free: 67.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.2748, allocations: 18.06 kB / 455.7 MB, free: 67.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2748, allocations: 1.125 kB / 455.7 MB, free: 67.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.2749, allocations: 20.16 kB / 455.7 MB, free: 67.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2749, allocations: 4.062 kB / 455.7 MB, free: 67.15 MB / 366.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 6.535e-05/0.275, allocations: 123.8 kB / 455.8 MB, free: 67.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.275, allocations: 12.34 kB / 455.8 MB, free: 67.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.2754, allocations: 311.9 kB / 456.1 MB, free: 66.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002646/0.2757, allocations: 248.5 kB / 456.4 MB, free: 66.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2757, allocations: 1.312 kB / 456.4 MB, free: 66.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2757, allocations: 4.625 kB / 456.4 MB, free: 66.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.2765, allocations: 0.6755 MB / 457 MB, free: 66.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2765, allocations: 1.062 kB / 457.1 MB, free: 66.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2766, allocations: 40.19 kB / 457.1 MB, free: 66.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2766, allocations: 1.281 kB / 457.1 MB, free: 66.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.2766, allocations: 6.531 kB / 457.1 MB, free: 66.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2766, allocations: 4.438 kB / 457.1 MB, free: 66.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2766, allocations: 1.156 kB / 457.1 MB, free: 66.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.2771, allocations: 0.5318 MB / 457.6 MB, free: 65.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.2771, allocations: 25.5 kB / 457.7 MB, free: 65.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2771, allocations: 7.641 kB / 457.7 MB, free: 65.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.2773, allocations: 5.812 kB / 457.7 MB, free: 65.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.2773, allocations: 17.05 kB / 457.7 MB, free: 65.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2773, allocations: 9.172 kB / 457.7 MB, free: 65.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.846e-05/0.2774, allocations: 97.42 kB / 457.8 MB, free: 65.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2774, allocations: 0 / 457.8 MB, free: 65.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002135/0.2795, allocations: 0.9427 MB / 458.7 MB, free: 65.79 MB / 366.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.003357/0.2829, allocations: 1.569 MB / 460.3 MB, free: 65.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.2832, allocations: 235.6 kB / 460.5 MB, free: 65.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2832, allocations: 1.375 kB / 460.5 MB, free: 65.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2833, allocations: 109.9 kB / 460.6 MB, free: 65.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.2842, allocations: 158.5 kB / 460.8 MB, free: 65.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006028/0.2848, allocations: 428.2 kB / 461.2 MB, free: 64.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.808e-05/0.2849, allocations: 119 kB / 461.3 MB, free: 64.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.285, allocations: 41.84 kB / 461.4 MB, free: 64.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.285, allocations: 32.7 kB / 461.4 MB, free: 64.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.285, allocations: 0 / 461.4 MB, free: 64.9 MB / 366.1 MB Notification: Performance of Templates: time 0.02836/0.3134, allocations: 28.34 MB / 489.7 MB, free: 38.82 MB / 366.1 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.262066040188074] Failed to read output from testmodel.py, exit status != 0: 0.3214882127940655 0.329470178 0.25474508100000004 Calling exit ...