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.001395/0.001395, allocations: 88.72 kB / 19.44 MB, free: 356 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.001578/0.001578, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.468/1.468, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.05406/0.05406, allocations: 7.511 MB / 267.1 MB, free: 6.031 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.884e-06/1.884e-06, allocations: 0 / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.205e-05, allocations: 2.312 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01679/0.01682, allocations: 15.93 MB / 353.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003753/0.02057, allocations: 2.2 MB / 356 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.02065, allocations: 0 / 356 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.02164, allocations: 339.7 kB / 356.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007857/0.02949, allocations: 3.259 MB / 359.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.213e-05/0.02954, allocations: 11.98 kB / 359.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002894/0.02982, allocations: 206.8 kB / 359.8 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.02987, allocations: 5.812 kB / 359.9 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.03016, allocations: 127.5 kB / 360 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.03026, allocations: 51.84 kB / 360 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.03028, allocations: 4 kB / 360 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008292/0.03857, allocations: 4.389 MB / 364.4 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.03861, allocations: 19.91 kB / 364.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.0387, allocations: 35.88 kB / 364.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00528/0.04398, allocations: 2.603 MB / 367.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.04398, allocations: 3.938 kB / 367.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.04398, allocations: 0 / 367.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.04399, allocations: 0 / 367.1 MB, free: 14.07 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.001778/0.04577, allocations: 0.6124 MB / 367.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.04581, allocations: 8.625 kB / 367.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.04599, allocations: 39.81 kB / 367.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.04618, allocations: 129 kB / 367.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.0462, allocations: 4 kB / 367.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.04621, allocations: 7.938 kB / 367.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.04662, allocations: 171 kB / 368 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.04663, allocations: 0 / 368 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.04664, allocations: 4 kB / 368.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.04665, allocations: 3.984 kB / 368.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.04715, allocations: 200.1 kB / 368.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.04746, allocations: 206.3 kB / 368.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.04781, allocations: 150.7 kB / 368.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.0481, allocations: 145 kB / 368.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0202/0.0683, allocations: 3.652 MB / 372.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.06835, allocations: 34.56 kB / 372.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.06835, allocations: 0 / 372.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.001102/0.06945, allocations: 481.5 kB / 372.9 MB, free: 8.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.0695, allocations: 51.41 kB / 372.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.06966, allocations: 129.8 kB / 373.1 MB, free: 7.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.06969, allocations: 25.7 kB / 373.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.06976, allocations: 88.8 kB / 373.2 MB, free: 7.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.06988, allocations: 111 kB / 373.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.06995, allocations: 37.66 kB / 373.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.07015, allocations: 330.8 kB / 373.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.07043, allocations: 127.9 kB / 373.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.07068, allocations: 123.9 kB / 373.9 MB, free: 7.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.07128, allocations: 311.9 kB / 374.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.07128, allocations: 0 / 374.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000679/0.07196, allocations: 359.5 kB / 374.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.07198, allocations: 4 kB / 374.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.07198, allocations: 0 / 374.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.072, allocations: 0 / 374.6 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.07215, allocations: 19.98 kB / 374.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.07216, allocations: 0 / 374.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.07229, allocations: 23.81 kB / 374.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.07231, allocations: 4 kB / 374.6 MB, free: 6.359 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 0.0001322/0.07244, allocations: 129.8 kB / 374.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.07248, allocations: 11.91 kB / 374.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000787/0.07327, allocations: 392.9 kB / 375.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.07328, allocations: 3.984 kB / 375.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.07329, allocations: 0 / 375.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.07329, allocations: 0 / 375.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.07356, allocations: 205.8 kB / 375.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.07356, allocations: 0 / 375.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.07368, allocations: 15.98 kB / 375.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.07369, allocations: 4 kB / 375.4 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.0737, allocations: 4 kB / 375.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.0737, allocations: 0 / 375.4 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.07371, allocations: 3.984 kB / 375.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.07447, allocations: 398.8 kB / 375.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.07454, allocations: 27.83 kB / 375.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.07456, allocations: 0 / 375.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.07468, allocations: 7.984 kB / 375.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.07473, allocations: 11.98 kB / 375.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.07475, allocations: 8 kB / 375.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.07484, allocations: 102.4 kB / 375.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07484, allocations: 0 / 375.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001673/0.07652, allocations: 494.5 kB / 376.4 MB, free: 4.512 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.00366/0.08018, allocations: 0.7715 MB / 377.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.08088, allocations: 267.9 kB / 377.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.08088, allocations: 0 / 377.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.08118, allocations: 136.5 kB / 377.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.08174, allocations: 83.81 kB / 377.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.08257, allocations: 373.6 kB / 378 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.08268, allocations: 106.3 kB / 378.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.0828, allocations: 31.84 kB / 378.1 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.08286, allocations: 20.5 kB / 378.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.08286, allocations: 0 / 378.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Templates: time 0.03853/0.1214, allocations: 20.74 MB / 398.9 MB, free: 14.01 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.800686907954514]