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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001452/0.001452, allocations: 207.5 kB / 23.73 MB, free: 4.379 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.00159/0.00159, allocations: 47.94 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2583, allocations: 53.37 MB / 431.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004233/0.2625, allocations: 2.615 MB / 434.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.2642, allocations: 0.8956 MB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2643, allocations: 4 kB / 435.1 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.2646, allocations: 63.42 kB / 435.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.2649, allocations: 107.2 kB / 435.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2652, allocations: 111.8 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004065/0.2656, allocations: 354.6 kB / 435.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2657, allocations: 80.5 kB / 435.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.266, allocations: 151.5 kB / 435.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2662, allocations: 151.3 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.2663, allocations: 28 kB / 436.1 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.2663, allocations: 32 kB / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.2664, allocations: 67.77 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.2665, allocations: 131.3 kB / 436.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.267, allocations: 378.2 kB / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.267, allocations: 0 / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.267, allocations: 0 / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.267, allocations: 0 / 436.7 MB, free: 1.523 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.00106/0.268, allocations: 0.5403 MB / 437.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2681, allocations: 8.031 kB / 437.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2683, allocations: 44.73 kB / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.2686, allocations: 214.9 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.2687, allocations: 24.97 kB / 437.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.2687, allocations: 32.31 kB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.2693, allocations: 276.1 kB / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2693, allocations: 0 / 437.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.2693, allocations: 15.94 kB / 437.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2693, allocations: 4 kB / 437.9 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.2698, allocations: 210.5 kB / 438.1 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.2713, allocations: 0.8086 MB / 438.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.2718, allocations: 186.5 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2721, allocations: 110.4 kB / 439.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2721, allocations: 4 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.2721, allocations: 38.59 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.2721, allocations: 0 / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0055/0.2776, allocations: 1.392 MB / 440.6 MB, free: 13.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2777, allocations: 63.33 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.278, allocations: 232.8 kB / 440.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.278, allocations: 29.7 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2781, allocations: 188.5 kB / 441.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2783, allocations: 126.9 kB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2784, allocations: 70.02 kB / 441.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2786, allocations: 338.8 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.2788, allocations: 108.7 kB / 441.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2791, allocations: 161.4 kB / 441.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/0.2797, allocations: 283.6 kB / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2797, allocations: 0 / 442.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00167/0.2813, allocations: 0.5296 MB / 442.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.2814, allocations: 8 kB / 442.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2814, allocations: 4 kB / 442.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.2827, allocations: 241.5 kB / 442.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.283, allocations: 55.91 kB / 443 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/0.288, allocations: 3.85 MB / 446.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2882, allocations: 11.98 kB / 446.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.2883, allocations: 12 kB / 446.9 MB, free: 6.887 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.0001785/0.2884, allocations: 152 kB / 447 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.2885, allocations: 31.78 kB / 447 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.813e-05/0.2886, allocations: 38.95 kB / 447.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2886, allocations: 8.062 kB / 447.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2886, allocations: 4 kB / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2886, allocations: 288 / 447.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.2907, allocations: 0.86 MB / 448 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2907, allocations: 7.875 kB / 448 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.291, allocations: 43.91 kB / 448 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.2922, allocations: 241.5 kB / 448.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.2923, allocations: 15.98 kB / 448.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/0.2969, allocations: 3.827 MB / 452.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2969, allocations: 0 / 452.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.2988, allocations: 0.713 MB / 452.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.2989, allocations: 27.84 kB / 452.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.2989, allocations: 8 kB / 452.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2991, allocations: 11.98 kB / 452.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.2992, allocations: 35.88 kB / 452.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.2992, allocations: 20.28 kB / 452.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.2994, allocations: 164.5 kB / 453.1 MB, free: 408 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2994, allocations: 0 / 453.1 MB, free: 408 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005888/0.3, allocations: 107.9 kB / 453.2 MB, free: 300 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.0001515/0.3001, allocations: 107.2 kB / 453.3 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3012, allocations: 0.5553 MB / 453.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3012, allocations: 0 / 453.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.3018, allocations: 413.5 kB / 454.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3021, allocations: 24.44 kB / 454.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3034, allocations: 0.7127 MB / 455 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.3036, allocations: 177.6 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.482e-05/0.3037, allocations: 26.28 kB / 455.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.3037, allocations: 19.42 kB / 455.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3037, allocations: 0 / 455.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01162/0.3154, allocations: 6.1 MB / 461.3 MB, free: 8.074 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 4.900800979230553]