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.001872/0.001872, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002049/0.002049, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.64/1.64, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.002323/0.002323, allocations: 55.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3786, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004898/0.3835, allocations: 2.618 MB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3854, allocations: 0.8918 MB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.3856, allocations: 7.938 kB / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3859, allocations: 67.42 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.3862, allocations: 106.1 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.3866, allocations: 115.8 kB / 436.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.387, allocations: 354.6 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.3872, allocations: 77.97 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3875, allocations: 139.5 kB / 436.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3877, allocations: 155.3 kB / 436.8 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.3878, allocations: 28 kB / 436.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.3878, allocations: 35.98 kB / 436.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.3879, allocations: 67.77 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.388, allocations: 135.3 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.3885, allocations: 370.2 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3885, allocations: 0 / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3885, allocations: 3.938 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3886, allocations: 0 / 437.5 MB, free: 1.531 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.00117/0.3897, allocations: 0.5469 MB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.3898, allocations: 8.031 kB / 438 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.39, allocations: 44.73 kB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.3905, allocations: 210.9 kB / 438.3 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.3906, allocations: 17.03 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.3906, allocations: 32.31 kB / 438.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/0.3913, allocations: 280.1 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3913, allocations: 4 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3913, allocations: 12 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.3913, allocations: 4 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.3918, allocations: 206.5 kB / 438.8 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3934, allocations: 0.8087 MB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.3939, allocations: 194.4 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.3941, allocations: 96.81 kB / 439.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.3942, allocations: 11.98 kB / 439.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3942, allocations: 34.59 kB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.3942, allocations: 0 / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005545/0.3998, allocations: 1.397 MB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3998, allocations: 55.41 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.4001, allocations: 248.7 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4001, allocations: 29.7 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.4003, allocations: 188.5 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4004, allocations: 122.9 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4006, allocations: 70.03 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.4008, allocations: 334.8 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.4011, allocations: 108.7 kB / 442.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.4014, allocations: 165.5 kB / 442.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.4019, allocations: 283.6 kB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4019, allocations: 0 / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00176/0.4037, allocations: 0.5334 MB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4037, allocations: 4 kB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.4038, allocations: 4 kB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.4052, allocations: 237.5 kB / 443.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.4056, allocations: 59.89 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.4113, allocations: 3.861 MB / 447.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.4116, allocations: 8 kB / 447.6 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.4116, allocations: 15.98 kB / 447.6 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.0002288/0.4119, allocations: 151.9 kB / 447.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.4119, allocations: 31.75 kB / 447.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.412, allocations: 42.95 kB / 447.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.412, allocations: 4 kB / 447.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.4121, allocations: 0 / 447.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4121, allocations: 4 kB / 447.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.4143, allocations: 0.8562 MB / 448.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4143, allocations: 0 / 448.7 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.4145, allocations: 51.91 kB / 448.8 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/0.4159, allocations: 237.7 kB / 449 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4159, allocations: 7.938 kB / 449 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005556/0.4214, allocations: 3.83 MB / 452.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4214, allocations: 4.031 kB / 452.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.4235, allocations: 0.7169 MB / 453.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.4235, allocations: 31.89 kB / 453.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.4236, allocations: 12 kB / 453.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.4238, allocations: 11.98 kB / 453.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.4239, allocations: 35.88 kB / 453.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.424, allocations: 8 kB / 453.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002224/0.4242, allocations: 164.5 kB / 453.8 MB, free: 416 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 453.8 MB, free: 416 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007429/0.4249, allocations: 100 kB / 453.9 MB, free: 316 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.0002065/0.4251, allocations: 111.2 kB / 454 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4264, allocations: 0.5475 MB / 454.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4264, allocations: 0 / 454.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.4271, allocations: 417.4 kB / 455 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4274, allocations: 35.36 kB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4289, allocations: 0.7165 MB / 455.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.4291, allocations: 181.6 kB / 455.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.4292, allocations: 26.22 kB / 455.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.4293, allocations: 15.44 kB / 455.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4293, allocations: 0 / 455.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01274/0.442, allocations: 6.101 MB / 462.1 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 -s cvode -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: 9.944810281987884]