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.00174/0.00174, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00216/0.00216, allocations: 215.6 kB / 24.48 MB, free: 3.844 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001751/0.001751, allocations: 43.92 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00431/0.249, allocations: 2.618 MB / 434.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.2507, allocations: 0.8917 MB / 435.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2508, allocations: 4 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2511, allocations: 63.44 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.2514, allocations: 107.2 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2517, allocations: 115.8 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.2521, allocations: 346.6 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2523, allocations: 77.91 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.2526, allocations: 151.5 kB / 436.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2528, allocations: 131.3 kB / 436.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.2528, allocations: 28 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.2529, allocations: 36 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.253, allocations: 63.77 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2531, allocations: 139.3 kB / 437.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.2536, allocations: 372.1 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2536, allocations: 0 / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2536, allocations: 0 / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2536, allocations: 0 / 437.4 MB, free: 1.57 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.001063/0.2547, allocations: 0.5442 MB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2547, allocations: 8.031 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.2549, allocations: 44.73 kB / 438 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.2553, allocations: 214.8 kB / 438.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.2553, allocations: 25.03 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.2553, allocations: 28.38 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.2559, allocations: 280 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2559, allocations: 0 / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2559, allocations: 12 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2559, allocations: 4 kB / 438.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/0.2564, allocations: 210.5 kB / 438.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.2579, allocations: 0.8009 MB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.2584, allocations: 190.5 kB / 439.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.2586, allocations: 104.8 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.2586, allocations: 8 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.2587, allocations: 42.59 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.2587, allocations: 0 / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005085/0.2638, allocations: 1.394 MB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2638, allocations: 59.34 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.2641, allocations: 236.8 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2641, allocations: 29.7 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2642, allocations: 184.5 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2644, allocations: 126.9 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.2645, allocations: 70.02 kB / 442 MB, free: 12.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2646, allocations: 338.8 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.2649, allocations: 116.6 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.2652, allocations: 157.5 kB / 442.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.2657, allocations: 287.6 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2658, allocations: 0 / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001632/0.2674, allocations: 0.5296 MB / 443.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2674, allocations: 4 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2674, allocations: 4 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.2687, allocations: 237.5 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.269, allocations: 67.91 kB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005183/0.2741, allocations: 3.853 MB / 447.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.2744, allocations: 11.98 kB / 447.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2744, allocations: 12 kB / 447.6 MB, free: 6.926 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.0001937/0.2746, allocations: 149.8 kB / 447.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.2747, allocations: 27.8 kB / 447.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.2748, allocations: 38.95 kB / 447.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2748, allocations: 4 kB / 447.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2748, allocations: 4 kB / 447.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2748, allocations: 8.031 kB / 447.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2769, allocations: 0.86 MB / 448.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2769, allocations: 0 / 448.7 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.2772, allocations: 47.91 kB / 448.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/0.2784, allocations: 245.5 kB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2784, allocations: 8 kB / 449 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004991/0.2834, allocations: 3.831 MB / 452.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2834, allocations: 0 / 452.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.2853, allocations: 0.713 MB / 453.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.2854, allocations: 27.84 kB / 453.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.2854, allocations: 11.98 kB / 453.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2857, allocations: 15.88 kB / 453.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.2857, allocations: 31.94 kB / 453.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2858, allocations: 12 kB / 453.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.2859, allocations: 164.5 kB / 453.8 MB, free: 456 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2859, allocations: 4.062 kB / 453.8 MB, free: 452 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006024/0.2865, allocations: 104 kB / 453.9 MB, free: 348 kB / 350.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.0001825/0.2867, allocations: 103.2 kB / 454 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.2879, allocations: 0.5514 MB / 454.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2879, allocations: 4 kB / 454.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.2885, allocations: 413.1 kB / 455 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2889, allocations: 30.56 kB / 455 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.2904, allocations: 0.7552 MB / 455.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2905, allocations: 173.6 kB / 455.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.22e-05/0.2906, allocations: 23.42 kB / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2906, allocations: 0 / 455.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Templates: time 0.009671/0.3003, allocations: 6.22 MB / 462.2 MB, free: 7.965 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.762291543185711]