Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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.0007987/0.0007987, allocations: 92.22 kB / 19.65 MB, free: 276 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.0008959/0.0008959, allocations: 173 kB / 23.03 MB, free: 1.543 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.9902/0.9902, allocations: 177.2 MB / 203.4 MB, free: 5.602 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.03063/0.03063, allocations: 7.527 MB / 267.5 MB, free: 5.969 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.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 338.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.574e-05, allocations: 2.312 kB / 338.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01178/0.0118, allocations: 17.62 MB / 356.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.0139, allocations: 2.372 MB / 358.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.01395, allocations: 3.938 kB / 358.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.01464, allocations: 347.6 kB / 359 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.01938, allocations: 3.255 MB / 362.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.448e-05/0.0194, allocations: 8 kB / 362.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.01957, allocations: 206.7 kB / 362.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.01961, allocations: 5.812 kB / 362.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.01978, allocations: 135.6 kB / 362.6 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.01984, allocations: 47.84 kB / 362.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.01985, allocations: 4 kB / 362.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/0.02407, allocations: 4.4 MB / 367 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.0241, allocations: 15.92 kB / 367 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.02416, allocations: 43.86 kB / 367.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002669/0.02683, allocations: 2.599 MB / 369.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.02683, allocations: 0 / 369.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.02683, allocations: 0 / 369.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.02684, allocations: 0 / 369.7 MB, free: 11.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008573/0.02769, allocations: 0.7041 MB / 370.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.02773, allocations: 8.625 kB / 370.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.02783, allocations: 31.89 kB / 370.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.02793, allocations: 135.8 kB / 370.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.02794, allocations: 4 kB / 370.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.02795, allocations: 4 kB / 370.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.02811, allocations: 99.86 kB / 370.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.02812, allocations: 0 / 370.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.02813, allocations: 4 kB / 370.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.02814, allocations: 4 kB / 370.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.02821, allocations: 56.27 kB / 370.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.02837, allocations: 189.6 kB / 370.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.578e-05/0.02846, allocations: 83.27 kB / 371 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.02852, allocations: 47.97 kB / 371 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007974/0.03649, allocations: 3.515 MB / 374.6 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.03651, allocations: 37.39 kB / 374.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.644e-06/0.03652, allocations: 0 / 374.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003171/0.03683, allocations: 249.7 kB / 374.8 MB, free: 6.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.03686, allocations: 51.41 kB / 374.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.03695, allocations: 185.9 kB / 375.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.03696, allocations: 33.7 kB / 375.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.037, allocations: 131.5 kB / 375.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.03707, allocations: 118.9 kB / 375.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.03711, allocations: 39.36 kB / 375.4 MB, free: 5.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.03722, allocations: 0.5039 MB / 375.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.03727, allocations: 36 kB / 375.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.03731, allocations: 40.84 kB / 376 MB, free: 5.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.03742, allocations: 150.8 kB / 376.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.03742, allocations: 0 / 376.1 MB, free: 5.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000155/0.03757, allocations: 203.7 kB / 376.3 MB, free: 4.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.03759, allocations: 4 kB / 376.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.03759, allocations: 4 kB / 376.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.03761, allocations: 0 / 376.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.03767, allocations: 15.94 kB / 376.3 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.03768, allocations: 3.984 kB / 376.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.03772, allocations: 19.89 kB / 376.4 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.03773, allocations: 0 / 376.4 MB, free: 4.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * 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.07e-05/0.0378, allocations: 164.5 kB / 376.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.03782, allocations: 15.91 kB / 376.5 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.03803, allocations: 237.2 kB / 376.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.03804, allocations: 7.984 kB / 376.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.03804, allocations: 0 / 376.8 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.03805, allocations: 4 kB / 376.8 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.03816, allocations: 181.1 kB / 377 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.03816, allocations: 0 / 377 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.0382, allocations: 11.98 kB / 377 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.03821, allocations: 0 / 377 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.03821, allocations: 8 kB / 377 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.03822, allocations: 0 / 377 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03822, allocations: 0 / 377 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.0384, allocations: 258.3 kB / 377.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.03843, allocations: 27.83 kB / 377.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.03845, allocations: 3.984 kB / 377.3 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.03848, allocations: 8 kB / 377.3 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.03852, allocations: 7.984 kB / 377.3 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.03852, allocations: 4 kB / 377.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.781e-05/0.03857, allocations: 142.5 kB / 377.4 MB, free: 3.797 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03857, allocations: 0 / 377.4 MB, free: 3.797 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006992/0.03927, allocations: 0.4907 MB / 377.9 MB, free: 3.305 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.001463/0.04073, allocations: 0.769 MB / 378.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.04092, allocations: 123.6 kB / 378.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.04092, allocations: 0 / 378.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.04125, allocations: 75.61 kB / 378.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.04154, allocations: 76.03 kB / 378.9 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.04226, allocations: 347.1 kB / 379.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.0423, allocations: 76.06 kB / 379.4 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.04236, allocations: 27.97 kB / 379.4 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.04239, allocations: 12.5 kB / 379.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04239, allocations: 0 / 379.4 MB, free: 1.746 MB / 298.7 MB Notification: Performance of Templates: time 0.02305/0.06543, allocations: 24.93 MB / 404.3 MB, free: 8.867 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.863302599173039]