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.001285/0.001285, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001383/0.001383, allocations: 169.5 kB / 22.46 MB, free: 5.355 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.376/1.376, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.04864/0.04864, allocations: 7.52 MB / 266.7 MB, free: 9.645 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.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.874e-06/1.874e-06, allocations: 0 / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.305e-05, allocations: 2.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01934/0.01936, allocations: 15.95 MB / 408.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002923/0.02228, allocations: 2.196 MB / 410.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.02234, allocations: 0 / 410.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008922/0.02323, allocations: 339.6 kB / 410.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.03034, allocations: 3.266 MB / 414 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.403e-05/0.03038, allocations: 11.98 kB / 414 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.0306, allocations: 202.9 kB / 414.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.03065, allocations: 5.812 kB / 414.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.03089, allocations: 127.5 kB / 414.3 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.03099, allocations: 47.84 kB / 414.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.03101, allocations: 4 kB / 414.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.03791, allocations: 4.393 MB / 418.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.03794, allocations: 11.94 kB / 418.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.03802, allocations: 47.84 kB / 418.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004104/0.04213, allocations: 2.603 MB / 421.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.04213, allocations: 0 / 421.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.04213, allocations: 0 / 421.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.04213, allocations: 0 / 421.4 MB, free: 13.11 MB / 350.1 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.001264/0.0434, allocations: 0.6084 MB / 422 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.04343, allocations: 8.625 kB / 422 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.04357, allocations: 31.89 kB / 422.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.04372, allocations: 144.9 kB / 422.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.04374, allocations: 0 / 422.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.04375, allocations: 4 kB / 422.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.04409, allocations: 170.9 kB / 422.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.0441, allocations: 0 / 422.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.04411, allocations: 0 / 422.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.04412, allocations: 7.984 kB / 422.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.04455, allocations: 204.2 kB / 422.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.04481, allocations: 198.4 kB / 422.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.04512, allocations: 154.7 kB / 422.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.04537, allocations: 137.1 kB / 423.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/0.06305, allocations: 3.633 MB / 426.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.06309, allocations: 34.56 kB / 426.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.094e-06/0.06309, allocations: 0 / 426.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009948/0.06409, allocations: 469.5 kB / 427.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.06414, allocations: 59.41 kB / 427.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.06427, allocations: 121.8 kB / 427.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.06429, allocations: 37.58 kB / 427.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.06434, allocations: 88.78 kB / 427.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.06445, allocations: 115 kB / 427.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.06451, allocations: 33.7 kB / 427.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.06466, allocations: 330.8 kB / 428 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.06493, allocations: 123.9 kB / 428.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.06517, allocations: 132 kB / 428.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.0657, allocations: 311.9 kB / 428.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.0657, allocations: 3.938 kB / 428.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005972/0.0663, allocations: 343.6 kB / 428.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.06631, allocations: 6.344 kB / 428.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.06632, allocations: 8 kB / 428.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.06634, allocations: 0 / 428.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.06648, allocations: 27.91 kB / 428.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.06649, allocations: 0 / 428.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.06661, allocations: 23.81 kB / 428.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.06663, allocations: 8 kB / 428.9 MB, free: 5.422 MB / 350.1 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.0001353/0.06676, allocations: 117.8 kB / 429 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.06679, allocations: 15.86 kB / 429 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.06748, allocations: 381.1 kB / 429.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.06749, allocations: 7.984 kB / 429.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.0675, allocations: 0 / 429.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.0675, allocations: 4 kB / 429.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.06771, allocations: 201.8 kB / 429.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.06771, allocations: 3.938 kB / 429.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.06782, allocations: 19.97 kB / 429.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.06782, allocations: 0 / 429.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.06783, allocations: 4 kB / 429.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.06783, allocations: 0 / 429.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.06783, allocations: 0 / 429.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.0685, allocations: 390.9 kB / 430 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.06856, allocations: 27.83 kB / 430.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.06858, allocations: 0 / 430.1 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.06869, allocations: 15.97 kB / 430.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.06874, allocations: 11.98 kB / 430.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.06874, allocations: 0 / 430.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.908e-05/0.06882, allocations: 103.2 kB / 430.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06882, allocations: 7.938 kB / 430.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001414/0.07024, allocations: 494.5 kB / 430.7 MB, free: 3.59 MB / 350.1 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.003005/0.07324, allocations: 0.7597 MB / 431.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.07383, allocations: 279.8 kB / 431.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.07383, allocations: 0 / 431.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.07409, allocations: 127.9 kB / 431.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.0746, allocations: 83.36 kB / 431.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.07524, allocations: 358.5 kB / 432.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.07533, allocations: 110.3 kB / 432.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.479e-05/0.07542, allocations: 27.97 kB / 432.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.07546, allocations: 12.5 kB / 432.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.07546, allocations: 0 / 432.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Templates: time 0.1694/0.2449, allocations: 20.82 MB / 453.2 MB, free: 69.05 MB / 366.1 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.439312182366848] Failed to read output from testmodel.py, exit status != 0: 0.25286123901605606 0.26331783000000003 0.21904282600000002 Calling exit ...