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.001413/0.001413, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001649/0.001649, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.05403/0.05403, allocations: 7.504 MB / 267.1 MB, free: 6.047 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.433e-06/1.433e-06, allocations: 0 / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.167e-05, allocations: 6.312 kB / 337.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01617/0.01619, allocations: 15.76 MB / 353.7 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.03671, allocations: 14.88 MB / 368.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.0368, allocations: 4 kB / 368.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.03753, allocations: 239.2 kB / 368.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.05437, allocations: 6.399 MB / 375.2 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.05599, allocations: 0.5946 MB / 375.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.05627, allocations: 194.9 kB / 376 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.05631, allocations: 9.312 kB / 376 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.05654, allocations: 115.6 kB / 376.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.05665, allocations: 47.89 kB / 376.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.05667, allocations: 7.938 kB / 376.2 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.07177, allocations: 6.848 MB / 383 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.07181, allocations: 15.92 kB / 383 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.07192, allocations: 39.91 kB / 383.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.08236, allocations: 4.044 MB / 387.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.08236, allocations: 0 / 387.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.08236, allocations: 0 / 387.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.08237, allocations: 0 / 387.1 MB, free: 9.969 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.002141/0.08451, allocations: 0.8447 MB / 388 MB, free: 9.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.08455, allocations: 12.62 kB / 388 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.08478, allocations: 39.75 kB / 388 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.085, allocations: 137.1 kB / 388.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.08501, allocations: 4 kB / 388.1 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.08504, allocations: 12 kB / 388.2 MB, free: 8.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.08528, allocations: 131.3 kB / 388.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.08529, allocations: 0 / 388.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.0853, allocations: 0 / 388.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.08531, allocations: 7.984 kB / 388.3 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.08547, allocations: 99.97 kB / 388.4 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.08615, allocations: 428.3 kB / 388.8 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.08642, allocations: 109.2 kB / 388.9 MB, free: 8.039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.08654, allocations: 65.69 kB / 389 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05736/0.1439, allocations: 10.96 MB / 399.9 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.144, allocations: 42.5 kB / 400 MB, free: 12.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.144, allocations: 0 / 400 MB, free: 12.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007673/0.1447, allocations: 233.3 kB / 400.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.1448, allocations: 81.11 kB / 400.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1449, allocations: 117.8 kB / 400.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.145, allocations: 25.7 kB / 400.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.145, allocations: 92.64 kB / 400.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1452, allocations: 87.2 kB / 400.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.1452, allocations: 41.7 kB / 400.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1454, allocations: 318.8 kB / 401 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.1455, allocations: 47.98 kB / 401 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1456, allocations: 63.45 kB / 401.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.1458, allocations: 125.6 kB / 401.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1458, allocations: 0 / 401.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003191/0.1461, allocations: 173.4 kB / 401.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1462, allocations: 4 kB / 401.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1462, allocations: 4 kB / 401.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1462, allocations: 0 / 401.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1463, allocations: 23.92 kB / 401.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1463, allocations: 4 kB / 401.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.1464, allocations: 11.89 kB / 401.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1464, allocations: 8 kB / 401.4 MB, free: 11.44 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 0.0001172/0.1465, allocations: 117.8 kB / 401.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.1466, allocations: 19.84 kB / 401.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.1471, allocations: 312.6 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003562/0.1475, allocations: 248.3 kB / 402.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1475, allocations: 0 / 402.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1475, allocations: 4 kB / 402.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1486, allocations: 0.6763 MB / 402.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1486, allocations: 0 / 402.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1488, allocations: 35.98 kB / 402.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.1488, allocations: 4 kB / 402.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1488, allocations: 8.062 kB / 402.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/0.1488, allocations: 15.94 kB / 402.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1488, allocations: 0 / 402.8 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.1496, allocations: 0.5342 MB / 403.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1496, allocations: 23.77 kB / 403.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.1496, allocations: 11.94 kB / 403.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.1498, allocations: 0 / 403.4 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.1498, allocations: 23.97 kB / 403.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1498, allocations: 4 kB / 403.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.1499, allocations: 103.6 kB / 403.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1499, allocations: 0 / 403.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002782/0.1527, allocations: 0.9462 MB / 404.5 MB, free: 8.293 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.005258/0.158, allocations: 1.568 MB / 406.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.1584, allocations: 234.9 kB / 406.3 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1584, allocations: 4 kB / 406.3 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.1586, allocations: 99.91 kB / 406.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.1597, allocations: 151.7 kB / 406.5 MB, free: 6.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.1606, allocations: 437.6 kB / 407 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.1608, allocations: 125.1 kB / 407.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1609, allocations: 34.12 kB / 407.1 MB, free: 5.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.987e-05/0.161, allocations: 40.47 kB / 407.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.161, allocations: 0 / 407.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of Templates: time 0.1429/0.3039, allocations: 28.37 MB / 435.5 MB, free: 67.07 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.59290319995489]