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.001471/0.001471, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001704/0.001704, allocations: 217.9 kB / 22.26 MB, free: 5.121 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.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.07353/0.07353, allocations: 9.138 MB / 321.6 MB, free: 10.44 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.001893/0.001893, allocations: 63.91 kB / 447.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.09107, allocations: 54.94 MB / 0.4902 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01945/0.1105, allocations: 17.69 MB / 0.5075 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.1135, allocations: 2.43 MB / 0.5099 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1135, allocations: 0 / 0.5099 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.1144, allocations: 423.6 kB / 0.5103 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.1211, allocations: 3.303 MB / 0.5135 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.928e-05/0.1211, allocations: 7.984 kB / 0.5135 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1213, allocations: 191 kB / 0.5137 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.1214, allocations: 5.75 kB / 0.5137 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1216, allocations: 103.5 kB / 0.5138 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.1217, allocations: 59.7 kB / 0.5139 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1217, allocations: 4 kB / 0.5139 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1872/0.3089, allocations: 6.792 MB / 0.5205 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.3089, allocations: 17.91 kB / 0.5205 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.309, allocations: 59.67 kB / 0.5206 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004919/0.314, allocations: 2.809 MB / 0.5233 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.314, allocations: 0 / 0.5233 GB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.314, allocations: 1.344 kB / 0.5233 GB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.314, allocations: 0 / 0.5233 GB, free: 10.99 MB / 382.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.001354/0.3153, allocations: 0.6096 MB / 0.5239 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3153, allocations: 10.81 kB / 0.5239 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.3155, allocations: 31.97 kB / 0.524 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3156, allocations: 131.2 kB / 0.5241 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.3156, allocations: 2.781 kB / 0.5241 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.3156, allocations: 1.938 kB / 0.5241 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.3159, allocations: 168.4 kB / 0.5243 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3159, allocations: 0.75 kB / 0.5243 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3159, allocations: 2.078 kB / 0.5243 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3159, allocations: 12.58 kB / 0.5243 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.3163, allocations: 203.8 kB / 0.5245 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.3165, allocations: 245 kB / 0.5247 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.3167, allocations: 151.3 kB / 0.5248 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.3169, allocations: 138.7 kB / 0.525 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.3333, allocations: 3.621 MB / 0.5285 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.3333, allocations: 43.53 kB / 0.5286 GB, free: 10.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.3333, allocations: 2.531 kB / 0.5286 GB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000788/0.3341, allocations: 472.2 kB / 0.529 GB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.3341, allocations: 52.44 kB / 0.5291 GB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.3342, allocations: 131.3 kB / 0.5292 GB, free: 9.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.3342, allocations: 26.2 kB / 0.5292 GB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.3343, allocations: 88.12 kB / 0.5293 GB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.3343, allocations: 116.6 kB / 0.5294 GB, free: 9.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3344, allocations: 35 kB / 0.5294 GB, free: 9.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.422e-05/0.3344, allocations: 326.3 kB / 0.5297 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.3347, allocations: 121.2 kB / 0.5299 GB, free: 9.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3349, allocations: 128.8 kB / 0.53 GB, free: 9.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.3353, allocations: 315.6 kB / 0.5303 GB, free: 9.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3353, allocations: 0 / 0.5303 GB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004833/0.3358, allocations: 352.2 kB / 0.5306 GB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3358, allocations: 4.875 kB / 0.5306 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3358, allocations: 3.938 kB / 0.5306 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3358, allocations: 1.219 kB / 0.5306 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3359, allocations: 21.45 kB / 0.5307 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.336, allocations: 1.125 kB / 0.5307 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3361, allocations: 26.23 kB / 0.5307 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3361, allocations: 5.969 kB / 0.5307 GB, free: 9.188 MB / 382.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 5.835e-05/0.3361, allocations: 116.2 kB / 0.5308 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.3362, allocations: 12.53 kB / 0.5308 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.3367, allocations: 394.8 kB / 0.5312 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.3367, allocations: 4.906 kB / 0.5312 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3367, allocations: 5.281 kB / 0.5312 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3367, allocations: 0.7969 kB / 0.5312 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3369, allocations: 241.8 kB / 0.5314 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3369, allocations: 1.312 kB / 0.5314 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.337, allocations: 16.25 kB / 0.5314 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.337, allocations: 2.766 kB / 0.5314 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.337, allocations: 5.188 kB / 0.5314 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.337, allocations: 1.094 kB / 0.5314 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.337, allocations: 0 / 0.5314 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.3375, allocations: 389.6 kB / 0.5318 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.3375, allocations: 32.94 kB / 0.5319 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3375, allocations: 4.969 kB / 0.5319 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.3376, allocations: 15.53 kB / 0.5319 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.3377, allocations: 13.38 kB / 0.5319 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.3377, allocations: 2.438 kB / 0.5319 GB, free: 8.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.175e-05/0.3377, allocations: 103.3 kB / 0.532 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3377, allocations: 0 / 0.532 GB, free: 8.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001821/0.3395, allocations: 497.1 kB / 0.5325 GB, free: 8.512 MB / 382.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.002173/0.3417, allocations: 0.728 MB / 0.5332 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.3422, allocations: 268.7 kB / 0.5334 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3422, allocations: 0 / 0.5334 GB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.3424, allocations: 146.9 kB / 0.5336 GB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3429, allocations: 66.95 kB / 0.5336 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.3434, allocations: 382.7 kB / 0.534 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3435, allocations: 0.719 MB / 0.5347 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.3436, allocations: 24.16 kB / 0.5347 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.3436, allocations: 14.69 kB / 0.5347 GB, free: 7.395 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3436, allocations: 0 / 0.5347 GB, free: 7.395 MB / 382.1 MB Notification: Performance of Templates: time 0.02666/0.3703, allocations: 20.76 MB / 0.555 GB, free: 10.02 MB / 398.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.751489922404289] Failed to read output from testmodel.py, exit status != 0: 0.3769683721475303 0.391625149 0.074616915 Calling exit ...