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.0008469/0.0008469, 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.0009994/0.0009994, allocations: 169 kB / 23.02 MB, free: 1.547 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.03131/0.03131, allocations: 7.512 MB / 267.5 MB, free: 6.008 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 2.094e-06/2.094e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.561e-05, allocations: 4.703 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01224/0.01226, allocations: 17.61 MB / 356.2 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.01462, allocations: 2.379 MB / 358.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.01467, allocations: 0 / 358.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.0154, allocations: 347.6 kB / 359 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.01986, allocations: 3.259 MB / 362.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.95e-05/0.01989, allocations: 15.98 kB / 362.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.02007, allocations: 194.9 kB / 362.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.0201, allocations: 9.75 kB / 362.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.0203, allocations: 131.6 kB / 362.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.02036, allocations: 47.84 kB / 362.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.02038, allocations: 4 kB / 362.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.02472, allocations: 4.393 MB / 367 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.02474, allocations: 15.94 kB / 367 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.0248, allocations: 43.86 kB / 367.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.02741, allocations: 2.599 MB / 369.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.02741, allocations: 0 / 369.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02742, allocations: 0 / 369.7 MB, free: 11.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.02742, allocations: 0 / 369.7 MB, free: 11.87 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.0008196/0.02824, allocations: 0.6963 MB / 370.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.02828, allocations: 8.625 kB / 370.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.02837, allocations: 39.88 kB / 370.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.02847, allocations: 131.8 kB / 370.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.02848, allocations: 0 / 370.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.0285, allocations: 12 kB / 370.6 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.02865, allocations: 99.86 kB / 370.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.02866, allocations: 0 / 370.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.02867, allocations: 0 / 370.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.02868, allocations: 3.984 kB / 370.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.02876, allocations: 56.28 kB / 370.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.02893, allocations: 185.7 kB / 370.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.02903, allocations: 83.2 kB / 371 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.0291, allocations: 55.95 kB / 371 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008114/0.03721, allocations: 3.508 MB / 374.5 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.03724, allocations: 41.38 kB / 374.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.03724, allocations: 4 kB / 374.6 MB, free: 6.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003328/0.03758, allocations: 245.7 kB / 374.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.03761, allocations: 51.41 kB / 374.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.03773, allocations: 189 kB / 375.1 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.03775, allocations: 25.7 kB / 375.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.0378, allocations: 135.5 kB / 375.2 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-05/0.03789, allocations: 122.9 kB / 375.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.03794, allocations: 39.36 kB / 375.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.03808, allocations: 0.5 MB / 375.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.03813, allocations: 36 kB / 375.9 MB, free: 5.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.03818, allocations: 40.83 kB / 375.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.0383, allocations: 158.7 kB / 376.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.0383, allocations: 0 / 376.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001731/0.03847, allocations: 199.7 kB / 376.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.03849, allocations: 4 kB / 376.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.03849, allocations: 0 / 376.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.03851, allocations: 0 / 376.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.03859, allocations: 15.98 kB / 376.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.03859, allocations: 0 / 376.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.03863, allocations: 15.89 kB / 376.3 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.03865, allocations: 0 / 376.3 MB, free: 4.992 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 8.213e-05/0.03873, allocations: 168.5 kB / 376.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.03875, allocations: 19.83 kB / 376.5 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.03899, allocations: 245.1 kB / 376.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.039, allocations: 0 / 376.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.039, allocations: 0 / 376.8 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.03901, allocations: 4 kB / 376.8 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.03914, allocations: 185.1 kB / 376.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.03914, allocations: 0 / 376.9 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.03918, allocations: 11.98 kB / 376.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.03918, allocations: 4 kB / 377 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.03919, allocations: 8 kB / 377 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.03919, allocations: 0 / 377 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.03919, allocations: 3.984 kB / 377 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.03939, allocations: 262.3 kB / 377.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.03942, allocations: 23.83 kB / 377.2 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.03944, allocations: 0 / 377.2 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.468e-05/0.03947, allocations: 8 kB / 377.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.03951, allocations: 7.984 kB / 377.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.03952, allocations: 4 kB / 377.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.087e-05/0.03957, allocations: 143.2 kB / 377.4 MB, free: 3.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03957, allocations: 4 kB / 377.4 MB, free: 3.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.04027, allocations: 0.4907 MB / 377.9 MB, free: 3.344 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.001483/0.04175, allocations: 0.757 MB / 378.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.04193, allocations: 124.1 kB / 378.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.04194, allocations: 0 / 378.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.042, allocations: 71.61 kB / 378.8 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.04229, allocations: 80.03 kB / 378.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/0.04305, allocations: 347.1 kB / 379.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.006e-05/0.04309, allocations: 72.08 kB / 379.3 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.221e-05/0.04315, allocations: 27.95 kB / 379.4 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.04318, allocations: 16.5 kB / 379.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.04318, allocations: 4 kB / 379.4 MB, free: 1.793 MB / 298.7 MB Notification: Performance of Templates: time 0.01907/0.06226, allocations: 20.91 MB / 400.3 MB, free: 12.95 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.7677655899897218]