Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001874/0.001874, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002327/0.002327, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.77 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+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(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_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_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2128, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004101/0.2169, allocations: 2.622 MB / 435 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2184, allocations: 0.8878 MB / 435.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.2185, allocations: 4 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2188, allocations: 67.42 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.2191, allocations: 110.1 kB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.2194, allocations: 111.8 kB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.2197, allocations: 354.6 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2199, allocations: 77.97 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2201, allocations: 143.5 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2204, allocations: 155.3 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.2204, allocations: 32 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.2205, allocations: 32 kB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.2205, allocations: 67.77 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2207, allocations: 135.3 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.2211, allocations: 374.2 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2211, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2211, allocations: 0 / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2211, allocations: 0 / 437.5 MB, free: 1.555 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.001046/0.2222, allocations: 0.5442 MB / 438 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2222, allocations: 8.031 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2224, allocations: 40.73 kB / 438.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.2227, allocations: 206.9 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.2228, allocations: 24.97 kB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2228, allocations: 28.38 kB / 438.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.2233, allocations: 284.1 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2234, allocations: 0 / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.2234, allocations: 11.98 kB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.2234, allocations: 8 kB / 438.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.2239, allocations: 210.5 kB / 438.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2254, allocations: 0.8047 MB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.2259, allocations: 194.4 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.2262, allocations: 104.8 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2262, allocations: 4 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2262, allocations: 38.59 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.2262, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005507/0.2317, allocations: 1.398 MB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2318, allocations: 55.41 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.232, allocations: 236.7 kB / 441.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.232, allocations: 33.7 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2322, allocations: 192.5 kB / 441.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.2323, allocations: 119 kB / 442 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.2324, allocations: 70.02 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2326, allocations: 338.8 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.2329, allocations: 104.7 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.2332, allocations: 165.5 kB / 442.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.2337, allocations: 283.6 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2337, allocations: 0 / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00173/0.2355, allocations: 0.5374 MB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2355, allocations: 4 kB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2355, allocations: 0 / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.2369, allocations: 245.4 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.2372, allocations: 59.91 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.2424, allocations: 3.853 MB / 447.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.2427, allocations: 16.08 kB / 447.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.2427, allocations: 16 kB / 447.6 MB, free: 6.906 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.0001892/0.2429, allocations: 145.8 kB / 447.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.2429, allocations: 31.81 kB / 447.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2431, allocations: 42.89 kB / 447.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2431, allocations: 0 / 447.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2431, allocations: 0 / 447.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2431, allocations: 27.84 kB / 447.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2431, allocations: 8 kB / 447.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2434, allocations: 15.98 kB / 447.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2435, allocations: 31.92 kB / 447.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001716/0.2452, allocations: 0.5491 MB / 448.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001006/0.2462, allocations: 0.616 MB / 449.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002585/0.2465, allocations: 111.9 kB / 449.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.2466, allocations: 168.5 kB / 449.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Backend: time 6.42e-07/0.2466, allocations: 3.938 kB / 449.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2478, allocations: 0.5384 MB / 449.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of SimCode: time 0.00133/0.2491, allocations: 1.195 MB / 451.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of Templates: time 0.01063/0.2597, allocations: 5.717 MB / 456.8 MB, free: 13.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.537156585000048] 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.26807839299726766 0.28221493000000003 0.058113296 Calling exit ...