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.001495/0.001495, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001661/0.001661, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.38/1.38, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.001516/0.001516, allocations: 51.92 kB / 379 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004436/0.2542, allocations: 2.801 MB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2558, allocations: 0.9617 MB / 436.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2559, allocations: 4 kB / 436.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.2561, allocations: 63.44 kB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.2564, allocations: 111.2 kB / 436.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2567, allocations: 111.8 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2571, allocations: 354.6 kB / 436.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2573, allocations: 81.91 kB / 436.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.2575, allocations: 143.5 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.2577, allocations: 155.2 kB / 437.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.2578, allocations: 36 kB / 437.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.2578, allocations: 32 kB / 437.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.2579, allocations: 75.69 kB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.258, allocations: 151.2 kB / 437.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.2585, allocations: 375.7 kB / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2585, allocations: 0 / 437.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2585, allocations: 4 kB / 437.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2585, allocations: 0 / 437.8 MB, free: 1.52 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.0009918/0.2595, allocations: 0.5364 MB / 438.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2595, allocations: 8.031 kB / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.2597, allocations: 44.73 kB / 438.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.26, allocations: 214.8 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.2601, allocations: 25.03 kB / 438.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.2601, allocations: 24.38 kB / 438.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.2606, allocations: 254.4 kB / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2606, allocations: 0 / 438.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2606, allocations: 12 kB / 438.9 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2607, allocations: 8 kB / 438.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.2611, allocations: 210.5 kB / 439.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2627, allocations: 0.9635 MB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.2631, allocations: 200.4 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.2633, allocations: 106.5 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2634, allocations: 0 / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2634, allocations: 38.56 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.062e-06/0.2634, allocations: 0 / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005055/0.2685, allocations: 1.392 MB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2685, allocations: 63.34 kB / 441.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2687, allocations: 233 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2688, allocations: 29.7 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2689, allocations: 196.4 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.269, allocations: 122.9 kB / 442.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2691, allocations: 66.06 kB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2693, allocations: 338.8 kB / 442.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2695, allocations: 108.7 kB / 443 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.2698, allocations: 157.5 kB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/0.2703, allocations: 291.5 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2703, allocations: 0 / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001574/0.2719, allocations: 0.5296 MB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2719, allocations: 8 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2719, allocations: 0 / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.2732, allocations: 245.5 kB / 444.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.2734, allocations: 55.91 kB / 444.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.2783, allocations: 3.954 MB / 448.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2786, allocations: 8.031 kB / 448.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.2786, allocations: 19.98 kB / 448.2 MB, free: 6.609 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.000175/0.2788, allocations: 145.8 kB / 448.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.2788, allocations: 31.86 kB / 448.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.2789, allocations: 38.95 kB / 448.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2789, allocations: 12 kB / 448.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2789, allocations: 3.938 kB / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2789, allocations: 0 / 448.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.2811, allocations: 0.9569 MB / 449.4 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2811, allocations: 4 kB / 449.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.2813, allocations: 40.03 kB / 449.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/0.2825, allocations: 241.4 kB / 449.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2825, allocations: 4 kB / 449.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/0.2871, allocations: 3.919 MB / 453.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2871, allocations: 0 / 453.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2889, allocations: 0.7207 MB / 454.3 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2889, allocations: 19.89 kB / 454.3 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.289, allocations: 23.98 kB / 454.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2892, allocations: 8 kB / 454.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.2893, allocations: 31.94 kB / 454.4 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.2893, allocations: 4 kB / 454.4 MB, free: 84 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.2895, allocations: 172.5 kB / 454.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2895, allocations: 0 / 454.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.29, allocations: 104 kB / 454.7 MB, free: 15.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001298/0.2902, allocations: 111.2 kB / 454.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.2912, allocations: 0.5478 MB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2912, allocations: 4.062 kB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.2917, allocations: 417 kB / 455.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.2921, allocations: 24.42 kB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2933, allocations: 0.7422 MB / 456.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2937, allocations: 0.784 MB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.2938, allocations: 19.44 kB / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2938, allocations: 0 / 457.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of Templates: time 0.008403/0.3022, allocations: 6.141 MB / 463.4 MB, free: 6.902 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] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.42450877209194]