Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.83 kB / 378.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2224, allocations: 53.29 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004385/0.2268, allocations: 2.899 MB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2282, allocations: 0.7944 MB / 435.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2283, allocations: 11.94 kB / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.2285, allocations: 63.42 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.2288, allocations: 103.2 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.2291, allocations: 111.8 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.2295, allocations: 398.5 kB / 436.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.2297, allocations: 94.92 kB / 436.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/0.23, allocations: 171.3 kB / 436.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.2302, allocations: 171.2 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.2303, allocations: 32 kB / 436.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.696e-05/0.2303, allocations: 40 kB / 436.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.2304, allocations: 71.77 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.2305, allocations: 187 kB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.231, allocations: 407.8 kB / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.231, allocations: 0 / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.231, allocations: 0 / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.231, allocations: 0 / 437.6 MB, free: 1.863 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001271/0.2323, allocations: 0.6584 MB / 438.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2323, allocations: 8.031 kB / 438.2 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.2324, allocations: 40.7 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.2328, allocations: 283.5 kB / 438.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.2328, allocations: 29.03 kB / 438.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.2329, allocations: 32.38 kB / 438.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.2335, allocations: 294.3 kB / 438.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2335, allocations: 3.938 kB / 438.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.2336, allocations: 16 kB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2336, allocations: 4 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.2342, allocations: 250.5 kB / 439.2 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.236, allocations: 1.109 MB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.2364, allocations: 149.1 kB / 440.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2366, allocations: 67.7 kB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.2366, allocations: 15.91 kB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2367, allocations: 30.56 kB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.2367, allocations: 0 / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002163/0.2388, allocations: 0.6033 MB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.2389, allocations: 55.41 kB / 441.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.2392, allocations: 282.9 kB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2392, allocations: 33.7 kB / 441.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2394, allocations: 228.1 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.2394, allocations: 83.36 kB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.2395, allocations: 61.66 kB / 441.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2397, allocations: 338.8 kB / 442.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.24, allocations: 95.92 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.2404, allocations: 196 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.2411, allocations: 305.1 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2411, allocations: 0 / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009339/0.242, allocations: 409.3 kB / 443.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.242, allocations: 8 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.242, allocations: 0 / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.2423, allocations: 69.66 kB / 443.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.2426, allocations: 71.89 kB / 443.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.2449, allocations: 2.838 MB / 446.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.2452, allocations: 15.98 kB / 446.2 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2452, allocations: 16 kB / 446.2 MB, free: 8.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.2454, allocations: 157.6 kB / 446.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.2455, allocations: 31.88 kB / 446.4 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.614e-05/0.2455, allocations: 34.2 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2455, allocations: 0 / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2456, allocations: 0 / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.2456, allocations: 100.9 kB / 446.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.2457, allocations: 11.94 kB / 446.5 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.2459, allocations: 19.92 kB / 446.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.246, allocations: 15.97 kB / 446.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009629/0.2469, allocations: 369 kB / 446.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009773/0.2479, allocations: 0.5024 MB / 447.4 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002765/0.2482, allocations: 87.92 kB / 447.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.2484, allocations: 202 kB / 447.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2484, allocations: 0 / 447.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2494, allocations: 483.1 kB / 448.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 0.001205/0.2506, allocations: 1.031 MB / 449.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007903/0.2585, allocations: 3.43 MB / 452.6 MB, free: 2.051 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.144548838026822] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi', 'voltageSensor.v'] 0.26656171632930636 0.28058405499999994 0.046660791 Calling exit ...