Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002832, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007765/0.0007765, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001781, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9326/0.9326, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08461/1.017, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.293e-05, allocations: 2.875 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00444/0.004463, allocations: 2.81 MB / 242.3 MB, free: 388 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006607, allocations: 0.8643 MB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.006808, allocations: 7.938 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.006983, allocations: 63.48 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.007194, allocations: 107.1 kB / 243.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.007414, allocations: 103.7 kB / 243.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.007672, allocations: 362.5 kB / 243.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.007803, allocations: 68.02 kB / 243.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.008025, allocations: 241.1 kB / 244.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.008163, allocations: 111.7 kB / 244.3 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.008202, allocations: 28 kB / 244.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.244e-05/0.008234, allocations: 32 kB / 244.3 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.008271, allocations: 47.81 kB / 244.4 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.008346, allocations: 87.81 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.008557, allocations: 219.1 kB / 244.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/0.008572, allocations: 0 / 244.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008573, allocations: 0 / 244.7 MB, free: 14.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.008589, allocations: 0 / 244.7 MB, free: 14.05 MB / 250.7 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.0006346/0.009224, allocations: 0.5699 MB / 245.2 MB, free: 13.46 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.009251, allocations: 8.031 kB / 245.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.009305, allocations: 48.84 kB / 245.3 MB, free: 13.41 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.009479, allocations: 177 kB / 245.5 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.009505, allocations: 25.03 kB / 245.5 MB, free: 13.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.466e-05/0.00954, allocations: 28.38 kB / 245.5 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.009753, allocations: 217 kB / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.009762, allocations: 192 / 245.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.009777, allocations: 12.38 kB / 245.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.009785, allocations: 7.938 kB / 245.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.009877, allocations: 72.5 kB / 245.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.01058, allocations: 0.6496 MB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.01074, allocations: 129.7 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.01081, allocations: 52.84 kB / 246.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.01083, allocations: 4 kB / 246.6 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01086, allocations: 38.55 kB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.172e-06/0.01086, allocations: 4 kB / 246.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002293/0.01315, allocations: 1.202 MB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.01318, allocations: 59.34 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.01328, allocations: 207.3 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.0133, allocations: 33.7 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.01336, allocations: 168.5 kB / 248.3 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.01342, allocations: 126.9 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.01349, allocations: 70.03 kB / 248.5 MB, free: 9.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.01356, allocations: 338.7 kB / 248.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.01361, allocations: 44.67 kB / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.01368, allocations: 93.61 kB / 249 MB, free: 9.477 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.01382, allocations: 151.7 kB / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01382, allocations: 0 / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005117/0.01433, allocations: 338.6 kB / 249.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.01434, allocations: 8 kB / 249.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01435, allocations: 64 / 249.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.01504, allocations: 293.3 kB / 249.8 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.01522, allocations: 71.94 kB / 249.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.01724, allocations: 3.16 MB / 253 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.34e-05/0.01732, allocations: 19.92 kB / 253 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01733, allocations: 12.03 kB / 253 MB, free: 5.238 MB / 250.7 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 7.885e-05/0.01741, allocations: 121.8 kB / 253.2 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.01744, allocations: 27.97 kB / 253.2 MB, free: 5.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.01748, allocations: 42.66 kB / 253.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01749, allocations: 4 kB / 253.2 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01749, allocations: 0 / 253.2 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.0175, allocations: 7.922 kB / 253.2 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.01824, allocations: 0.5666 MB / 253.8 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01824, allocations: 4.062 kB / 253.8 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.01836, allocations: 51.97 kB / 253.9 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.01839, allocations: 31.78 kB / 253.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006678/0.01906, allocations: 289.3 kB / 254.2 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01907, allocations: 8 kB / 254.2 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.02086, allocations: 3.135 MB / 257.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.02086, allocations: 11.97 kB / 257.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003197/0.02406, allocations: 474.3 kB / 257.8 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.02412, allocations: 8 kB / 257.8 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.02434, allocations: 15.98 kB / 257.8 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.02444, allocations: 31.88 kB / 257.8 MB, free: 188 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.02446, allocations: 4 kB / 257.8 MB, free: 184 kB / 250.7 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.02455, allocations: 56.81 kB / 257.9 MB, free: 124 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02455, allocations: 0 / 257.9 MB, free: 124 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006055/0.02515, allocations: 104 kB / 258 MB, free: 20 kB / 250.7 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.0001548/0.02531, allocations: 100.3 kB / 258.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.02587, allocations: 447.5 kB / 258.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.418e-05/0.02589, allocations: 7.984 kB / 258.5 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002658/0.02616, allocations: 382 kB / 258.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.02636, allocations: 43.55 kB / 259 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.02865, allocations: 0.6468 MB / 259.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.02872, allocations: 101.1 kB / 259.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.594e-05/0.02879, allocations: 18.3 kB / 259.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.769e-05/0.02887, allocations: 79.36 kB / 259.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.372e-06/0.02888, allocations: 0 / 259.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Templates: time 0.008404/0.03728, allocations: 6.323 MB / 266.1 MB, free: 7.789 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.743823246099055]