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.00152/0.00152, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001828/0.001828, allocations: 213 kB / 22.24 MB, free: 5.258 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.793 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.05476/0.05476, allocations: 9.134 MB / 321.6 MB, free: 10.21 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.002667/0.002667, allocations: 68.09 kB / 447 MB, free: 68 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1278, allocations: 54.95 MB / 0.4902 GB, free: 9.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02539/0.1532, allocations: 15.95 MB / 0.5058 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.1567, allocations: 2.204 MB / 0.5079 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1568, allocations: 0 / 0.5079 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.1579, allocations: 335.8 kB / 0.5082 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008948/0.1669, allocations: 3.221 MB / 0.5114 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.698e-05/0.1669, allocations: 8 kB / 0.5114 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1673, allocations: 194.9 kB / 0.5116 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.1673, allocations: 9.75 kB / 0.5116 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1677, allocations: 107.5 kB / 0.5117 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1678, allocations: 55.72 kB / 0.5117 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1678, allocations: 4 kB / 0.5117 GB, free: 2.859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2427/0.4105, allocations: 4.358 MB / 0.516 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.4106, allocations: 18.14 kB / 0.516 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4107, allocations: 49 kB / 0.5161 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006529/0.4173, allocations: 2.224 MB / 0.5182 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4173, allocations: 0 / 0.5182 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4173, allocations: 0.5938 kB / 0.5182 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4173, allocations: 0 / 0.5182 GB, free: 11.46 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.001787/0.4191, allocations: 0.6067 MB / 0.5188 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4191, allocations: 10.44 kB / 0.5188 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4193, allocations: 35.86 kB / 0.5189 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4194, allocations: 128 kB / 0.519 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4194, allocations: 3.906 kB / 0.519 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4194, allocations: 0 / 0.519 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.4197, allocations: 174.2 kB / 0.5192 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4197, allocations: 0 / 0.5192 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4197, allocations: 0 / 0.5192 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4197, allocations: 12.69 kB / 0.5192 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.4201, allocations: 198.1 kB / 0.5194 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.4203, allocations: 207.9 kB / 0.5196 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4206, allocations: 154.6 kB / 0.5197 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.4208, allocations: 139.3 kB / 0.5198 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01771/0.4385, allocations: 3.627 MB / 0.5234 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.4386, allocations: 35.09 kB / 0.5234 GB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.965e-06/0.4386, allocations: 0 / 0.5234 GB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001105/0.4397, allocations: 479 kB / 0.5239 GB, free: 10.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.4398, allocations: 55.97 kB / 0.5239 GB, free: 10.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4399, allocations: 127.6 kB / 0.524 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4399, allocations: 27.78 kB / 0.5241 GB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.44, allocations: 89.56 kB / 0.5242 GB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4401, allocations: 113 kB / 0.5243 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.4402, allocations: 35.12 kB / 0.5243 GB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4403, allocations: 324.5 kB / 0.5246 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.4405, allocations: 127.4 kB / 0.5247 GB, free: 9.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.4407, allocations: 122.7 kB / 0.5249 GB, free: 9.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.4412, allocations: 317.5 kB / 0.5252 GB, free: 9.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4412, allocations: 2.625 kB / 0.5252 GB, free: 9.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000554/0.4418, allocations: 352 kB / 0.5255 GB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4418, allocations: 4.953 kB / 0.5255 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4418, allocations: 1.562 kB / 0.5255 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4418, allocations: 3.938 kB / 0.5255 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.442, allocations: 18.03 kB / 0.5255 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.442, allocations: 1.312 kB / 0.5255 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.4421, allocations: 28.05 kB / 0.5255 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.4421, allocations: 2.25 kB / 0.5255 GB, free: 9.688 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 7.835e-05/0.4422, allocations: 115.9 kB / 0.5257 GB, free: 9.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.4422, allocations: 13.94 kB / 0.5257 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.4428, allocations: 384.5 kB / 0.526 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.4429, allocations: 16.02 kB / 0.5261 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4429, allocations: 1.281 kB / 0.5261 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4429, allocations: 2.719 kB / 0.5261 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.443, allocations: 195 kB / 0.5262 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.443, allocations: 4.125 kB / 0.5262 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4431, allocations: 21.45 kB / 0.5263 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4431, allocations: 0 / 0.5263 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.4432, allocations: 5.766 kB / 0.5263 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4432, allocations: 0.9688 kB / 0.5263 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4432, allocations: 3.938 kB / 0.5263 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.4437, allocations: 391.1 kB / 0.5267 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.4438, allocations: 34.36 kB / 0.5267 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4438, allocations: 0.75 kB / 0.5267 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.4439, allocations: 16.19 kB / 0.5267 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4439, allocations: 16.25 kB / 0.5267 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.444, allocations: 1.375 kB / 0.5267 GB, free: 9.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.444, allocations: 102 kB / 0.5268 GB, free: 9.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.444, allocations: 4 kB / 0.5268 GB, free: 9.129 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002249/0.4462, allocations: 497 kB / 0.5273 GB, free: 9.043 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.002694/0.4489, allocations: 0.722 MB / 0.528 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006834/0.4496, allocations: 267.2 kB / 0.5283 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4496, allocations: 0.7188 kB / 0.5283 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.4499, allocations: 136.4 kB / 0.5284 GB, free: 8.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.4505, allocations: 73.52 kB / 0.5285 GB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.4512, allocations: 388.3 kB / 0.5288 GB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.877e-05/0.4513, allocations: 104.2 kB / 0.5289 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.4514, allocations: 27.06 kB / 0.5289 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.4514, allocations: 15.97 kB / 0.529 GB, free: 8.551 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4514, allocations: 0 / 0.529 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Templates: time 0.02753/0.479, allocations: 20.97 MB / 0.5494 GB, free: 15.25 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: 6.351009523496032] Failed to read output from testmodel.py, exit status != 0: 0.48717393539845943 0.5039733240000001 0.083122028 Calling exit ...