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.001254/0.001254, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001427/0.001427, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.472/1.472, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 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.07034/0.07034, allocations: 7.534 MB / 267.3 MB, free: 9.574 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 0.002056/0.002056, allocations: 67.91 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 54.91 MB / 447.7 MB, free: 4.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02178/0.1353, allocations: 15.95 MB / 463.6 MB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1385, allocations: 2.204 MB / 465.8 MB, free: 2.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.1385, allocations: 0 / 465.8 MB, free: 2.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009947/0.1395, allocations: 331.8 kB / 466.1 MB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007848/0.1474, allocations: 3.23 MB / 469.4 MB, free: 14.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.506e-05/0.1474, allocations: 11.98 kB / 469.4 MB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1477, allocations: 187 kB / 469.6 MB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.1477, allocations: 17.81 kB / 469.6 MB, free: 14.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.148, allocations: 99.5 kB / 469.7 MB, free: 14.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1481, allocations: 63.64 kB / 469.7 MB, free: 14.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1481, allocations: 4 kB / 469.7 MB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007645/0.1557, allocations: 4.358 MB / 474.1 MB, free: 10.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.1558, allocations: 15.88 kB / 474.1 MB, free: 10.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1559, allocations: 55.72 kB / 474.2 MB, free: 9.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005231/0.1611, allocations: 2.217 MB / 476.4 MB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1611, allocations: 0 / 476.4 MB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1611, allocations: 4 kB / 476.4 MB, free: 7.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1612, allocations: 0 / 476.4 MB, free: 7.77 MB / 446.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.001493/0.1626, allocations: 0.6006 MB / 477 MB, free: 7.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1627, allocations: 12.62 kB / 477 MB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1628, allocations: 35.83 kB / 477 MB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.163, allocations: 140.9 kB / 477.2 MB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1631, allocations: 4 kB / 477.2 MB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.1631, allocations: 3.984 kB / 477.2 MB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.1634, allocations: 171 kB / 477.4 MB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1634, allocations: 3.938 kB / 477.4 MB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1635, allocations: 0 / 477.4 MB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1635, allocations: 11.98 kB / 477.4 MB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.1639, allocations: 200.1 kB / 477.6 MB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1642, allocations: 198.3 kB / 477.8 MB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.1647, allocations: 154.8 kB / 477.9 MB, free: 6.148 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1649, allocations: 133.2 kB / 478 MB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01792/0.1829, allocations: 3.633 MB / 481.7 MB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.1829, allocations: 38.55 kB / 481.7 MB, free: 2.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.415e-06/0.1829, allocations: 0 / 481.7 MB, free: 2.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001021/0.1839, allocations: 473.5 kB / 482.2 MB, free: 1.863 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.184, allocations: 55.41 kB / 482.2 MB, free: 1.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1841, allocations: 137 kB / 482.4 MB, free: 1.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1842, allocations: 29.7 kB / 482.4 MB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1842, allocations: 88.8 kB / 482.5 MB, free: 1.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1843, allocations: 115 kB / 482.6 MB, free: 1.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1844, allocations: 29.7 kB / 482.6 MB, free: 1.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.1846, allocations: 330.8 kB / 482.9 MB, free: 1.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1848, allocations: 119.9 kB / 483.1 MB, free: 0.9336 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1851, allocations: 131.9 kB / 483.2 MB, free: 0.8047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.1856, allocations: 315.9 kB / 483.5 MB, free: 0.4922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1856, allocations: 0 / 483.5 MB, free: 0.4922 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005655/0.1861, allocations: 347.5 kB / 483.8 MB, free: 152 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1861, allocations: 8 kB / 483.8 MB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1862, allocations: 0 / 483.8 MB, free: 144 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1862, allocations: 4 kB / 483.8 MB, free: 140 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1863, allocations: 19.97 kB / 483.9 MB, free: 120 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1863, allocations: 0 / 483.9 MB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1864, allocations: 23.83 kB / 483.9 MB, free: 96 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1865, allocations: 7.938 kB / 483.9 MB, free: 88 kB / 446.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.2473/0.4338, allocations: 117.3 kB / 484 MB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.4338, allocations: 13.08 kB / 484 MB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007067/0.4345, allocations: 384.2 kB / 484.4 MB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4346, allocations: 11.62 kB / 484.4 MB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4346, allocations: 0 / 484.4 MB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4346, allocations: 3.562 kB / 484.4 MB, free: 75.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4348, allocations: 202.6 kB / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4348, allocations: 5.125 kB / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4349, allocations: 19.86 kB / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.4349, allocations: 2.719 kB / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4349, allocations: 0 / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4349, allocations: 3.312 kB / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4349, allocations: 0 / 484.6 MB, free: 74.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.4355, allocations: 395.3 kB / 485 MB, free: 74.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4355, allocations: 19.2 kB / 485 MB, free: 74.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4355, allocations: 3.875 kB / 485 MB, free: 74.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.4356, allocations: 10.09 kB / 485.1 MB, free: 74.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.4357, allocations: 6.766 kB / 485.1 MB, free: 74.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4357, allocations: 9.719 kB / 485.1 MB, free: 74.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.416e-05/0.4358, allocations: 104.7 kB / 485.2 MB, free: 74.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4358, allocations: 0 / 485.2 MB, free: 74.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001788/0.4376, allocations: 492.3 kB / 485.7 MB, free: 74.73 MB / 446.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.002266/0.4398, allocations: 0.7236 MB / 486.4 MB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005872/0.4404, allocations: 279.4 kB / 486.7 MB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4404, allocations: 7.203 kB / 486.7 MB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4406, allocations: 136.1 kB / 486.8 MB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4411, allocations: 65.56 kB / 486.9 MB, free: 74.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.4418, allocations: 392.1 kB / 487.2 MB, free: 74.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.4419, allocations: 105.1 kB / 487.3 MB, free: 74.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.905e-05/0.442, allocations: 29.94 kB / 487.4 MB, free: 74.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.442, allocations: 14.88 kB / 487.4 MB, free: 74.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.442, allocations: 0 / 487.4 MB, free: 74.32 MB / 446.1 MB Notification: Performance of Templates: time 0.02929/0.4713, allocations: 20.79 MB / 0.4963 GB, free: 73.33 MB / 446.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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.239538317080587] Failed to read output from testmodel.py, exit status != 0: 0.47983305796515197 0.49434931299999996 0.33019721899999993 Calling exit ...