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.0009009/0.0009009, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009282/0.0009282, allocations: 173 kB / 23.5 MB, free: 1.055 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.9131/0.9131, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.03073/0.03073, allocations: 7.534 MB / 267.8 MB, free: 6.055 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.325e-06/2.325e-06, allocations: 0 / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.315e-05, allocations: 2.312 kB / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01859/0.01861, allocations: 17.61 MB / 356.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.02067, allocations: 2.376 MB / 358.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.851e-05/0.02071, allocations: 0 / 358.6 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.02139, allocations: 339.6 kB / 359 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004473/0.02586, allocations: 3.255 MB / 362.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.067e-05/0.02589, allocations: 15.92 kB / 362.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.02606, allocations: 202.9 kB / 362.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.0261, allocations: 5.812 kB / 362.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.02627, allocations: 127.5 kB / 362.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.02633, allocations: 47.84 kB / 362.6 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.02634, allocations: 4 kB / 362.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.03013, allocations: 4.389 MB / 367 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.03015, allocations: 19.92 kB / 367 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.0302, allocations: 39.86 kB / 367.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/0.03247, allocations: 2.595 MB / 369.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.03247, allocations: 0 / 369.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.03247, allocations: 0 / 369.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.03247, allocations: 0 / 369.7 MB, free: 12.21 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.0007942/0.03327, allocations: 0.6963 MB / 370.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.0333, allocations: 12.62 kB / 370.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.0334, allocations: 35.81 kB / 370.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.03351, allocations: 143.8 kB / 370.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.03352, allocations: 0 / 370.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.03353, allocations: 7.938 kB / 370.5 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.03368, allocations: 91.88 kB / 370.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.03369, allocations: 0 / 370.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.0337, allocations: 4 kB / 370.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.03371, allocations: 7.984 kB / 370.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.03378, allocations: 56.27 kB / 370.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.03394, allocations: 185.7 kB / 370.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.03403, allocations: 83.28 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.03409, allocations: 63.89 kB / 371 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007957/0.04204, allocations: 3.515 MB / 374.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.04207, allocations: 37.39 kB / 374.6 MB, free: 7.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.04207, allocations: 7.984 kB / 374.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002945/0.04236, allocations: 241.7 kB / 374.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.04239, allocations: 51.41 kB / 374.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.04249, allocations: 185.9 kB / 375.1 MB, free: 6.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.0425, allocations: 29.7 kB / 375.1 MB, free: 6.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.04254, allocations: 131.5 kB / 375.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.0426, allocations: 114.9 kB / 375.3 MB, free: 6.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.04265, allocations: 47.36 kB / 375.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.04275, allocations: 0.504 MB / 375.9 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.0428, allocations: 39.98 kB / 375.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.04284, allocations: 36.84 kB / 376 MB, free: 5.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.04295, allocations: 150.8 kB / 376.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.04295, allocations: 0 / 376.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003882/0.04334, allocations: 199.6 kB / 376.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.04335, allocations: 11.12 kB / 376.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.04336, allocations: 0 / 376.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.04337, allocations: 0 / 376.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.04344, allocations: 19.98 kB / 376.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.04345, allocations: 0 / 376.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.04349, allocations: 19.88 kB / 376.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.0435, allocations: 4 kB / 376.3 MB, free: 5.297 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 6.737e-05/0.04357, allocations: 160.5 kB / 376.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.04358, allocations: 15.91 kB / 376.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.04379, allocations: 241.1 kB / 376.8 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.0438, allocations: 3.984 kB / 376.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.0438, allocations: 0 / 376.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0438, allocations: 0 / 376.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.04391, allocations: 185.1 kB / 376.9 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.04391, allocations: 4 kB / 376.9 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.04395, allocations: 15.98 kB / 377 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.61e-07/0.04395, allocations: 0 / 377 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.04396, allocations: 0 / 377 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.04396, allocations: 0 / 377 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.04396, allocations: 4 kB / 377 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.04413, allocations: 258.3 kB / 377.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.04417, allocations: 27.83 kB / 377.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.04418, allocations: 0 / 377.2 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.04421, allocations: 7.984 kB / 377.3 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.04425, allocations: 15.98 kB / 377.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.04425, allocations: 0 / 377.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.576e-05/0.0443, allocations: 141.7 kB / 377.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0443, allocations: 0 / 377.4 MB, free: 4.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006177/0.04492, allocations: 0.4907 MB / 377.9 MB, free: 3.672 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.001427/0.04634, allocations: 0.7686 MB / 378.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.04651, allocations: 119.7 kB / 378.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.04651, allocations: 0 / 378.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.04657, allocations: 71.67 kB / 378.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.04686, allocations: 84.41 kB / 378.9 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.04754, allocations: 339.1 kB / 379.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.615e-05/0.04757, allocations: 72.08 kB / 379.3 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.062e-05/0.04764, allocations: 31.89 kB / 379.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.04766, allocations: 16.5 kB / 379.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04766, allocations: 0 / 379.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of Templates: time 0.01932/0.06698, allocations: 20.92 MB / 400.3 MB, free: 13.27 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.499890686944127]