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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 207.6 MB / 231.4 MB, free: 3.418 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05058/0.05058, allocations: 9.147 MB / 292.6 MB, free: 6.211 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 71.88 kB / 409.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2935, allocations: 50.72 MB / 459.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.02114/0.3146, allocations: 17.62 MB / 477.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.3181, allocations: 2.439 MB / 479.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.846e-05/0.3182, allocations: 1.156 kB / 479.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3193, allocations: 426.9 kB / 480.3 MB, free: 2.727 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.008523/0.3278, allocations: 3.24 MB / 483.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.995e-05/0.3279, allocations: 15.98 kB / 483.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3281, allocations: 191 kB / 483.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.3282, allocations: 8.375 kB / 483.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3284, allocations: 95.52 kB / 483.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3285, allocations: 63.7 kB / 483.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3286, allocations: 4 kB / 483.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.3402, allocations: 6.468 MB / 490.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.3403, allocations: 19.86 kB / 490.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.3405, allocations: 63.55 kB / 490.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008233/0.3487, allocations: 2.798 MB / 493.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3487, allocations: 0 / 493.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3487, allocations: 0 / 493.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3487, allocations: 0 / 493.3 MB, free: 5.746 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.002004/0.3507, allocations: 0.6915 MB / 494 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3508, allocations: 8.031 kB / 494 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.3509, allocations: 31.89 kB / 494 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.3512, allocations: 194.8 kB / 494.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3512, allocations: 0 / 494.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3512, allocations: 4 kB / 494.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.3516, allocations: 154.5 kB / 494.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3516, allocations: 3.984 kB / 494.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3516, allocations: 4 kB / 494.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.3516, allocations: 7.984 kB / 494.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.3521, allocations: 192.2 kB / 494.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.3525, allocations: 274.4 kB / 494.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.3528, allocations: 154.7 kB / 495 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.3531, allocations: 125.9 kB / 495.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02257/0.3756, allocations: 10.94 MB / 0.4942 GB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.3757, allocations: 38.55 kB / 0.4942 GB, free: 6.973 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 3.136e-06/0.3757, allocations: 0 / 0.4942 GB, free: 6.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001004/0.3767, allocations: 452.4 kB / 0.4947 GB, free: 6.523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.3768, allocations: 51.41 kB / 0.4947 GB, free: 6.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3769, allocations: 141.7 kB / 0.4948 GB, free: 6.312 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3769, allocations: 25.7 kB / 0.4949 GB, free: 6.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.377, allocations: 92.78 kB / 0.4949 GB, free: 6.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3771, allocations: 115 kB / 0.4951 GB, free: 6.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3772, allocations: 29.7 kB / 0.4951 GB, free: 6.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3773, allocations: 326.8 kB / 0.4954 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3776, allocations: 123.9 kB / 0.4955 GB, free: 5.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.3778, allocations: 123.9 kB / 0.4956 GB, free: 5.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3782, allocations: 295.6 kB / 0.4959 GB, free: 5.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3783, allocations: 0 / 0.4959 GB, free: 5.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000553/0.3788, allocations: 331.3 kB / 0.4962 GB, free: 4.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3788, allocations: 7.984 kB / 0.4962 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3788, allocations: 0 / 0.4962 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3788, allocations: 3.938 kB / 0.4962 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.379, allocations: 19.98 kB / 0.4963 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.379, allocations: 4 kB / 0.4963 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3791, allocations: 35.7 kB / 0.4963 GB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.3791, allocations: 0 / 0.4963 GB, free: 4.777 MB / 366.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 9.803e-05/0.3792, allocations: 121.8 kB / 0.4964 GB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3793, allocations: 15.91 kB / 0.4964 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.3799, allocations: 364.8 kB / 0.4968 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3799, allocations: 8 kB / 0.4968 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3799, allocations: 3.984 kB / 0.4968 GB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3799, allocations: 3.938 kB / 0.4968 GB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.3802, allocations: 262 kB / 0.497 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3802, allocations: 0 / 0.497 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3803, allocations: 27.91 kB / 0.4971 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3803, allocations: 0 / 0.4971 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3803, allocations: 4 kB / 0.4971 GB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3803, allocations: 0 / 0.4971 GB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3803, allocations: 4 kB / 0.4971 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.3809, allocations: 374.6 kB / 0.4974 GB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.381, allocations: 96.94 kB / 0.4975 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.381, allocations: 8 kB / 0.4975 GB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3811, allocations: 11.98 kB / 0.4975 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.3812, allocations: 15.86 kB / 0.4976 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.3812, allocations: 4 kB / 0.4976 GB, free: 3.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.923e-05/0.3812, allocations: 102.8 kB / 0.4977 GB, free: 3.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3812, allocations: 0 / 0.4977 GB, free: 3.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001461/0.3827, allocations: 498.5 kB / 0.4981 GB, free: 2.785 MB / 366.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.002626/0.3853, allocations: 0.7205 MB / 0.4988 GB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.386, allocations: 263.8 kB / 0.4991 GB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.386, allocations: 0 / 0.4991 GB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.3862, allocations: 123.9 kB / 0.4992 GB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.3867, allocations: 80.48 kB / 0.4993 GB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.3874, allocations: 379.5 kB / 0.4997 GB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3877, allocations: 0.7201 MB / 0.5004 GB, free: 468 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.3879, allocations: 27.97 kB / 0.5004 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3879, allocations: 11.44 kB / 0.5004 GB, free: 428 kB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3879, allocations: 0 / 0.5004 GB, free: 428 kB / 366.1 MB Notification: Performance of Templates: time 0.03141/0.4193, allocations: 20.68 MB / 0.5206 GB, free: 11.73 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.0118539379909635]