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.0009047/0.0009047, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009173/0.0009173, allocations: 181 kB / 23.36 MB, free: 1.133 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.9789/0.9789, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03001/0.03001, allocations: 7.528 MB / 267.8 MB, free: 5.867 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.343e-06/1.343e-06, allocations: 0 / 285.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.259e-05, allocations: 2.312 kB / 285.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.1193/0.1193, allocations: 17.53 MB / 303.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1214, allocations: 2.362 MB / 305.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.1215, allocations: 2.188 kB / 305.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1222, allocations: 344.9 kB / 306.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.1277, allocations: 3.141 MB / 309.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.254e-05/0.1277, allocations: 9.359 kB / 309.3 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1279, allocations: 197.4 kB / 309.5 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1279, allocations: 10.31 kB / 309.5 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1281, allocations: 136.3 kB / 309.6 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.1282, allocations: 45.16 kB / 309.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1282, allocations: 4.125 kB / 309.6 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/0.1323, allocations: 4.495 MB / 314.1 MB, free: 4.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.1323, allocations: 11.94 kB / 314.1 MB, free: 4.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.1324, allocations: 43.86 kB / 314.2 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.1343, allocations: 2.599 MB / 316.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1343, allocations: 0 / 316.8 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.107e-06/0.1343, allocations: 4 kB / 316.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1343, allocations: 0 / 316.8 MB, free: 2.215 MB / 266.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.0006131/0.1349, allocations: 0.5775 MB / 317.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1349, allocations: 12.62 kB / 317.4 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.135, allocations: 23.97 kB / 317.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.865e-05/0.1351, allocations: 134.5 kB / 317.5 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1351, allocations: 9.062 kB / 317.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.1351, allocations: 4 kB / 317.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1352, allocations: 94.64 kB / 317.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1352, allocations: 4 kB / 317.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.1352, allocations: 0 / 317.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1352, allocations: 7.984 kB / 317.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.017e-05/0.1353, allocations: 44.27 kB / 317.7 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.932e-05/0.1353, allocations: 127.7 kB / 317.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.076e-05/0.1354, allocations: 52.88 kB / 317.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.1354, allocations: 49.12 kB / 317.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007657/0.1431, allocations: 3.435 MB / 321.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1431, allocations: 30.56 kB / 321.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.222e-06/0.1431, allocations: 0 / 321.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002165/0.1433, allocations: 202.6 kB / 321.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.1434, allocations: 51.41 kB / 321.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.1434, allocations: 135.4 kB / 321.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.1434, allocations: 25.7 kB / 321.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1435, allocations: 80.8 kB / 321.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.1435, allocations: 114.9 kB / 322 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.1436, allocations: 37.62 kB / 322 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.1436, allocations: 322.8 kB / 322.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.195e-05/0.1437, allocations: 34.83 kB / 322.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.1437, allocations: 36.81 kB / 322.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.1438, allocations: 126 kB / 322.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1438, allocations: 0 / 322.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001169/0.1439, allocations: 167.7 kB / 322.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1439, allocations: 8 kB / 322.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1439, allocations: 3.984 kB / 322.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1439, allocations: 0 / 322.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.144, allocations: 12 kB / 322.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.144, allocations: 0 / 322.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.144, allocations: 15.88 kB / 322.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.144, allocations: 4 kB / 322.7 MB, free: 12.12 MB / 282.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 5.28e-05/0.1441, allocations: 113.8 kB / 322.8 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.1441, allocations: 15.92 kB / 322.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.1443, allocations: 205.7 kB / 323.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.1443, allocations: 14.7 kB / 323.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1443, allocations: 0 / 323.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1443, allocations: 0 / 323.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.805e-05/0.1444, allocations: 126.4 kB / 323.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1444, allocations: 0 / 323.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1444, allocations: 17.36 kB / 323.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1444, allocations: 3.938 kB / 323.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1444, allocations: 4 kB / 323.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1444, allocations: 0 / 323.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1444, allocations: 0 / 323.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1446, allocations: 212.8 kB / 323.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.1446, allocations: 27.83 kB / 323.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1446, allocations: 3.938 kB / 323.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.1446, allocations: 7.984 kB / 323.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1447, allocations: 11.98 kB / 323.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1447, allocations: 0.5625 kB / 323.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.923e-05/0.1447, allocations: 23.23 kB / 323.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1447, allocations: 4 kB / 323.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000582/0.1453, allocations: 498.5 kB / 324 MB, free: 10.8 MB / 282.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.001363/0.1466, allocations: 0.7798 MB / 324.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1467, allocations: 100.8 kB / 324.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1468, allocations: 0 / 324.9 MB, free: 9.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.1468, allocations: 60.77 kB / 324.9 MB, free: 9.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.147, allocations: 81.44 kB / 325 MB, free: 9.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.1476, allocations: 335 kB / 325.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.1476, allocations: 76.06 kB / 325.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1477, allocations: 29.47 kB / 325.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1478, allocations: 91.33 kB / 325.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1478, allocations: 0 / 325.5 MB, free: 9.227 MB / 282.7 MB Notification: Performance of Templates: time 0.02316/0.171, allocations: 24.08 MB / 349.6 MB, free: 1.262 MB / 298.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6538781598210335]