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.0009971/0.0009971, allocations: 93.06 kB / 19.65 MB, free: 280 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.001042/0.001042, allocations: 165 kB / 23.02 MB, free: 1.551 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.92/0.92, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.03033/0.03033, allocations: 7.514 MB / 267.5 MB, free: 6 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 2.014e-06/2.014e-06, allocations: 0 / 338.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.867e-05, allocations: 6.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.01357/0.01359, allocations: 17.54 MB / 356.2 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.0254, allocations: 17.09 MB / 373.3 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.02545, allocations: 0 / 373.3 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005237/0.02597, allocations: 267.2 kB / 373.6 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009978/0.03595, allocations: 6.938 MB / 380.5 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.0368, allocations: 0.6727 MB / 381.2 MB, free: 316 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.03696, allocations: 218.8 kB / 381.4 MB, free: 96 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.037, allocations: 9.297 kB / 381.4 MB, free: 84 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.03713, allocations: 127.6 kB / 381.5 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.0372, allocations: 51.84 kB / 381.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.03722, allocations: 4 kB / 381.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007515/0.04473, allocations: 7.031 MB / 388.6 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.04475, allocations: 15.91 kB / 388.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.0448, allocations: 39.88 kB / 388.7 MB, free: 8.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.04945, allocations: 4.029 MB / 392.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.04945, allocations: 0 / 392.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.04946, allocations: 0 / 392.7 MB, free: 4.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.04946, allocations: 0 / 392.7 MB, free: 4.762 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.001241/0.0507, allocations: 0.9443 MB / 393.6 MB, free: 3.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.05074, allocations: 12.62 kB / 393.6 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.05089, allocations: 39.81 kB / 393.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.05103, allocations: 139.9 kB / 393.8 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.05104, allocations: 8 kB / 393.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.05106, allocations: 4 kB / 393.8 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.0512, allocations: 109 kB / 393.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.05121, allocations: 0 / 393.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.05122, allocations: 4 kB / 393.9 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.05123, allocations: 3.984 kB / 393.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.0513, allocations: 59.67 kB / 394 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.05179, allocations: 486.4 kB / 394.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.05197, allocations: 114.2 kB / 394.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.05203, allocations: 67.44 kB / 394.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02311/0.07514, allocations: 10.37 MB / 405 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.07517, allocations: 45.38 kB / 405.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.07517, allocations: 0 / 405.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003975/0.07557, allocations: 197.3 kB / 405.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.0756, allocations: 85.11 kB / 405.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.57e-05/0.07569, allocations: 173.9 kB / 405.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.0757, allocations: 29.7 kB / 405.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.07575, allocations: 135.4 kB / 405.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.0758, allocations: 83.22 kB / 405.8 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.07585, allocations: 47.36 kB / 405.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.07596, allocations: 0.4961 MB / 406.3 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.951e-05/0.076, allocations: 27.98 kB / 406.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.07605, allocations: 64 kB / 406.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.07615, allocations: 99.3 kB / 406.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.07615, allocations: 0 / 406.5 MB, free: 6.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001597/0.07631, allocations: 152.9 kB / 406.6 MB, free: 6.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.07633, allocations: 4 kB / 406.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.07633, allocations: 4 kB / 406.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.07635, allocations: 0 / 406.6 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.0764, allocations: 19.98 kB / 406.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.07641, allocations: 0 / 406.7 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.07645, allocations: 19.84 kB / 406.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.07646, allocations: 8 kB / 406.7 MB, free: 6.488 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 7.034e-05/0.07653, allocations: 164.5 kB / 406.9 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.07656, allocations: 19.89 kB / 406.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.07683, allocations: 244.8 kB / 407.1 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001511/0.07698, allocations: 188.2 kB / 407.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.07698, allocations: 0 / 407.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.07699, allocations: 0 / 407.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.07754, allocations: 0.7265 MB / 408 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.07754, allocations: 3.984 kB / 408 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.07764, allocations: 39.92 kB / 408.1 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.07764, allocations: 3.938 kB / 408.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.07766, allocations: 11.94 kB / 408.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.07766, allocations: 0 / 408.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.07766, allocations: 0 / 408.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.07799, allocations: 0.5199 MB / 408.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.07801, allocations: 31.7 kB / 408.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.07803, allocations: 7.938 kB / 408.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.434e-05/0.0781, allocations: 8.031 kB / 408.6 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.07812, allocations: 15.97 kB / 408.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.07813, allocations: 8 kB / 408.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.07817, allocations: 135.2 kB / 408.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07817, allocations: 0 / 408.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001332/0.0795, allocations: 0.9385 MB / 409.7 MB, free: 3.355 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.002294/0.0818, allocations: 1.536 MB / 411.3 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.08204, allocations: 223 kB / 411.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08205, allocations: 8 kB / 411.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.08213, allocations: 92.2 kB / 411.6 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.08266, allocations: 152 kB / 411.7 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.08351, allocations: 438 kB / 412.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.08356, allocations: 92.81 kB / 412.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.08365, allocations: 38.11 kB / 412.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.08369, allocations: 24.5 kB / 412.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.08369, allocations: 0 / 412.3 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of Templates: time 0.1258/0.2094, allocations: 27.41 MB / 439.7 MB, free: 45.03 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.871395747177303]