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.001057/0.001057, allocations: 84 kB / 21.43 MB, free: 3.121 MB / 18.57 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.004496/0.004496, allocations: 147.1 kB / 24.68 MB, free: 9.438 MB / 18.57 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.8421/0.8421, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.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.362e-06/1.362e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.966e-05, allocations: 6.219 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002558/0.002578, allocations: 2.597 MB / 322.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009036/0.003482, allocations: 0.8216 MB / 323.1 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.00359, allocations: 7.938 kB / 323.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.003782, allocations: 51.45 kB / 323.1 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.003985, allocations: 107.2 kB / 323.3 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004159, allocations: 103.7 kB / 323.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.004418, allocations: 369.3 kB / 323.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.004557, allocations: 74.92 kB / 323.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.004747, allocations: 203.5 kB / 324 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.004876, allocations: 111.7 kB / 324.1 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.004913, allocations: 32 kB / 324.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.607e-05/0.00494, allocations: 28 kB / 324.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.00498, allocations: 71.73 kB / 324.2 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.005047, allocations: 107.8 kB / 324.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.005351, allocations: 366.8 kB / 324.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005352, allocations: 0 / 324.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005353, allocations: 0 / 324.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.005358, allocations: 0 / 324.7 MB, free: 0.6836 MB / 282.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.0006441/0.006002, allocations: 0.5403 MB / 325.2 MB, free: 116 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.006035, allocations: 8.031 kB / 325.2 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.006084, allocations: 36.73 kB / 325.3 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.006386, allocations: 205.8 kB / 325.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.006405, allocations: 17.03 kB / 325.5 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.006439, allocations: 28.38 kB / 325.5 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.006759, allocations: 276.3 kB / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006769, allocations: 4.188 kB / 325.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.006789, allocations: 12.38 kB / 325.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006797, allocations: 7.938 kB / 325.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.007061, allocations: 210.5 kB / 326 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.008032, allocations: 0.8054 MB / 326.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.008318, allocations: 190.4 kB / 327 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.008601, allocations: 100.9 kB / 327.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.008622, allocations: 7.938 kB / 327.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.008643, allocations: 34.91 kB / 327.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.052e-06/0.008644, allocations: 0 / 327.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002596/0.01124, allocations: 1.384 MB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01127, allocations: 63.33 kB / 328.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.01141, allocations: 228 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.01143, allocations: 33.7 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.01151, allocations: 188.4 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.01156, allocations: 122.9 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.01163, allocations: 66.06 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.01172, allocations: 346.7 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.01186, allocations: 104.7 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.01203, allocations: 159 kB / 329.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.01234, allocations: 287.8 kB / 330.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01234, allocations: 4 kB / 330.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001006/0.01335, allocations: 0.5257 MB / 330.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01336, allocations: 8 kB / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01337, allocations: 0 / 330.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.01394, allocations: 249.5 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01408, allocations: 55.91 kB / 330.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.01675, allocations: 3.841 MB / 334.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.01684, allocations: 12.02 kB / 334.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01686, allocations: 12 kB / 334.8 MB, free: 6.098 MB / 298.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 0.0001044/0.01696, allocations: 157.8 kB / 334.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.01699, allocations: 27.81 kB / 335 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.01704, allocations: 38.64 kB / 335 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01704, allocations: 4 kB / 335 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.01704, allocations: 7.938 kB / 335 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01705, allocations: 0 / 335 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.01811, allocations: 0.8607 MB / 335.9 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01812, allocations: 8.062 kB / 335.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.01822, allocations: 43.97 kB / 335.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005162/0.01874, allocations: 237.4 kB / 336.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01875, allocations: 7.984 kB / 336.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/0.02153, allocations: 3.835 MB / 340 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.02153, allocations: 4.031 kB / 340 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009227/0.02246, allocations: 0.721 MB / 340.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.02248, allocations: 31.77 kB / 340.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.0225, allocations: 8 kB / 340.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.02259, allocations: 15.92 kB / 340.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.02265, allocations: 31.94 kB / 340.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.02266, allocations: 12 kB / 340.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.824e-05/0.02275, allocations: 159 kB / 341 MB, free: 15.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02275, allocations: 0 / 341 MB, free: 15.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003451/0.0231, allocations: 104 kB / 341.1 MB, free: 15.5 MB / 314.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 9.079e-05/0.02319, allocations: 107.2 kB / 341.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000575/0.02376, allocations: 0.5477 MB / 341.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.02376, allocations: 0 / 341.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.02406, allocations: 417.3 kB / 342.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.02428, allocations: 28.66 kB / 342.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.02507, allocations: 0.6783 MB / 342.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.02517, allocations: 172.3 kB / 343 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.02522, allocations: 20.5 kB / 343 MB, free: 13.42 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02522, allocations: 4 kB / 343 MB, free: 13.41 MB / 314.7 MB Notification: Performance of Templates: time 0.005209/0.03043, allocations: 6.09 MB / 349.1 MB, free: 7.316 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.507039058953524]