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.SaturatedInductor.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.001588/0.001588, allocations: 114.5 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.001939/0.001939, allocations: 212.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.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [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.001925/0.001925, allocations: 67.84 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.229, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00423/0.2332, allocations: 2.801 MB / 434.9 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2348, allocations: 0.9618 MB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2349, allocations: 4 kB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.2352, allocations: 59.44 kB / 435.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.2354, allocations: 111.1 kB / 436 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2357, allocations: 115.8 kB / 436.1 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.2361, allocations: 354.6 kB / 436.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.2363, allocations: 77.69 kB / 436.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.2365, allocations: 139.5 kB / 436.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.2367, allocations: 155.3 kB / 436.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.485e-05/0.2368, allocations: 28 kB / 436.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.2368, allocations: 32 kB / 436.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.2369, allocations: 75.7 kB / 436.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.237, allocations: 159.2 kB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.2375, allocations: 368 kB / 437.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2375, allocations: 0 / 437.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2375, allocations: 0 / 437.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2375, allocations: 0 / 437.5 MB, free: 1.98 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001051/0.2385, allocations: 0.6233 MB / 438.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2386, allocations: 8.031 kB / 438.1 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.2387, allocations: 40.73 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.2391, allocations: 268.8 kB / 438.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.2391, allocations: 16.94 kB / 438.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.2392, allocations: 28.38 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.2397, allocations: 253.2 kB / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2397, allocations: 0 / 438.7 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.2397, allocations: 12 kB / 438.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2397, allocations: 8 kB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.2402, allocations: 206.1 kB / 438.9 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2418, allocations: 1.002 MB / 439.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2423, allocations: 197.5 kB / 440.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.2425, allocations: 100.8 kB / 440.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2425, allocations: 12 kB / 440.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2426, allocations: 34.56 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.472e-06/0.2426, allocations: 0 / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005207/0.2478, allocations: 1.554 MB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2478, allocations: 55.41 kB / 441.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.2481, allocations: 237 kB / 442.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2481, allocations: 33.7 kB / 442.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2482, allocations: 184.5 kB / 442.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.2483, allocations: 130.8 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2484, allocations: 62.08 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2486, allocations: 338.8 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.2488, allocations: 112.7 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2491, allocations: 153.7 kB / 443.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.2496, allocations: 287.6 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2496, allocations: 4 kB / 443.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001585/0.2512, allocations: 0.5332 MB / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2512, allocations: 8 kB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2512, allocations: 0 / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.2525, allocations: 241.5 kB / 444.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.2527, allocations: 59.89 kB / 444.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/0.2577, allocations: 4.149 MB / 448.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.258, allocations: 12.09 kB / 448.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.258, allocations: 15.98 kB / 448.4 MB, free: 6.418 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.2582, allocations: 145.8 kB / 448.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.2582, allocations: 27.8 kB / 448.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.2583, allocations: 42.95 kB / 448.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2583, allocations: 3.938 kB / 448.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2583, allocations: 0 / 448.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.2584, allocations: 112.9 kB / 448.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.2584, allocations: 4 kB / 448.7 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2587, allocations: 12 kB / 448.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.2587, allocations: 31.94 kB / 448.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001602/0.2603, allocations: 0.5528 MB / 449.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000936/0.2613, allocations: 0.6213 MB / 449.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002341/0.2615, allocations: 107.9 kB / 450 MB, free: 4.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.2617, allocations: 168.5 kB / 450.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2617, allocations: 0 / 450.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.2628, allocations: 0.5386 MB / 450.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of SimCode: time 0.001329/0.2641, allocations: 1.198 MB / 451.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Templates: time 0.01018/0.2743, allocations: 5.188 MB / 457.1 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.2751380749978125] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.i', 'coil.Phi', 'r_mLeak.port_p.Phi', 'r_mFe.mu_r', 'r_mFe.B', 'r_mFe.H'] 0.2823965698480606 0.29576786600000005 0.055401199000000005 Calling exit ...