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.001365/0.001365, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001452/0.001452, allocations: 156.2 kB / 23.01 MB, free: 4.949 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.04744/0.04744, allocations: 7.527 MB / 267.3 MB, free: 9.621 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.002296/0.002296, allocations: 71.89 kB / 392.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1124, allocations: 54.92 MB / 447.7 MB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02355/0.1359, allocations: 15.78 MB / 463.5 MB, free: 4.762 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.154, allocations: 14.86 MB / 478.3 MB, free: 5.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1541, allocations: 4 kB / 478.3 MB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.1549, allocations: 227.3 kB / 478.6 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.252/0.4069, allocations: 6.319 MB / 484.9 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4081, allocations: 0.5791 MB / 485.5 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.4083, allocations: 195 kB / 485.7 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.4083, allocations: 11.12 kB / 485.7 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.4085, allocations: 81.78 kB / 485.7 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.4086, allocations: 54.72 kB / 485.8 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4086, allocations: 3.25 kB / 485.8 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.42, allocations: 6.803 MB / 492.6 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.42, allocations: 12.62 kB / 492.6 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.4201, allocations: 51.81 kB / 492.7 MB, free: 47.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.4271, allocations: 3.42 MB / 496.1 MB, free: 47.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4271, allocations: 0 / 496.1 MB, free: 47.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4271, allocations: 0.5625 kB / 496.1 MB, free: 47.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4271, allocations: 1.438 kB / 496.1 MB, free: 47.49 MB / 446.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.001897/0.429, allocations: 0.8435 MB / 496.9 MB, free: 46.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4291, allocations: 7.188 kB / 496.9 MB, free: 46.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.4293, allocations: 32.3 kB / 497 MB, free: 46.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.4294, allocations: 138.5 kB / 497.1 MB, free: 46.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.4294, allocations: 10.5 kB / 497.1 MB, free: 46.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4295, allocations: 9.266 kB / 497.1 MB, free: 46.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.4297, allocations: 134.9 kB / 497.3 MB, free: 46.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4297, allocations: 0 / 497.3 MB, free: 46.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4297, allocations: 0 / 497.3 MB, free: 46.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4297, allocations: 12.42 kB / 497.3 MB, free: 46.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.4298, allocations: 96.34 kB / 497.4 MB, free: 46.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.4303, allocations: 428.4 kB / 497.8 MB, free: 46.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.4305, allocations: 109 kB / 497.9 MB, free: 46.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.4306, allocations: 71.66 kB / 498 MB, free: 46.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04637/0.477, allocations: 10.91 MB / 0.4969 GB, free: 46.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.477, allocations: 36.88 kB / 0.497 GB, free: 46.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/0.477, allocations: 0 / 0.497 GB, free: 46.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006638/0.4777, allocations: 230.2 kB / 0.4972 GB, free: 46.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.4777, allocations: 82.14 kB / 0.4973 GB, free: 45.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.4778, allocations: 123.6 kB / 0.4974 GB, free: 45.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.4778, allocations: 32.02 kB / 0.4974 GB, free: 45.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.4778, allocations: 84.58 kB / 0.4975 GB, free: 45.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.4779, allocations: 80.67 kB / 0.4976 GB, free: 45.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.4779, allocations: 40.88 kB / 0.4976 GB, free: 45.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.231e-05/0.478, allocations: 325.3 kB / 0.4979 GB, free: 45.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.4781, allocations: 44.56 kB / 0.498 GB, free: 45.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.4782, allocations: 70.77 kB / 0.498 GB, free: 45.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4783, allocations: 118.8 kB / 0.4982 GB, free: 45.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4783, allocations: 5.094 kB / 0.4982 GB, free: 45.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002203/0.4785, allocations: 175.2 kB / 0.4983 GB, free: 45.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4786, allocations: 4.406 kB / 0.4983 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4786, allocations: 1.375 kB / 0.4983 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4786, allocations: 3.016 kB / 0.4983 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.4787, allocations: 17.64 kB / 0.4983 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.4787, allocations: 6.953 kB / 0.4984 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.4788, allocations: 13.61 kB / 0.4984 GB, free: 45.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.4788, allocations: 8.812 kB / 0.4984 GB, free: 45.22 MB / 446.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 7.229e-05/0.4788, allocations: 117.6 kB / 0.4985 GB, free: 45.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.4789, allocations: 12.7 kB / 0.4985 GB, free: 45.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.4793, allocations: 315.2 kB / 0.4988 GB, free: 45.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002616/0.4796, allocations: 241.4 kB / 0.499 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4796, allocations: 5 kB / 0.499 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4796, allocations: 6.172 kB / 0.499 GB, free: 45.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.4804, allocations: 0.6877 MB / 0.4997 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.4804, allocations: 4 kB / 0.4997 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.4805, allocations: 40.2 kB / 0.4998 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4805, allocations: 1.125 kB / 0.4998 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4806, allocations: 8.562 kB / 0.4998 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4806, allocations: 1.062 kB / 0.4998 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4806, allocations: 3.844 kB / 0.4998 GB, free: 44.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.4811, allocations: 0.5349 MB / 0.5003 GB, free: 44.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.4811, allocations: 17.91 kB / 0.5003 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4812, allocations: 9.859 kB / 0.5003 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4813, allocations: 3.594 kB / 0.5003 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.4813, allocations: 15.97 kB / 0.5003 GB, free: 44.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4813, allocations: 11.72 kB / 0.5003 GB, free: 44.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.4814, allocations: 92.94 kB / 0.5004 GB, free: 44.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4814, allocations: 0 / 0.5004 GB, free: 44.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002659/0.484, allocations: 0.9432 MB / 0.5014 GB, free: 44.16 MB / 446.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.003666/0.4877, allocations: 1.442 MB / 0.5028 GB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.4881, allocations: 244.8 kB / 0.503 GB, free: 43.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4881, allocations: 0 / 0.503 GB, free: 43.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.4883, allocations: 107.7 kB / 0.5031 GB, free: 43.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/0.4892, allocations: 152 kB / 0.5032 GB, free: 43.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.49, allocations: 484.5 kB / 0.5037 GB, free: 43.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.4901, allocations: 121.3 kB / 0.5038 GB, free: 43.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.4903, allocations: 48.77 kB / 0.5039 GB, free: 43.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.4903, allocations: 25.22 kB / 0.5039 GB, free: 43.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4903, allocations: 0 / 0.5039 GB, free: 43.36 MB / 446.1 MB Notification: Performance of Templates: time 0.04063/0.531, allocations: 28.23 MB / 0.5315 GB, free: 34.73 MB / 446.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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.1381168049993] Failed to read output from testmodel.py, exit status != 0: 0.5404507369967178 0.54890085 0.11940632500000001 Calling exit ...