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.0009711/0.0009711, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001003/0.001003, allocations: 162.8 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9728/0.9728, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.038e-05, allocations: 2.312 kB / 273 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002739/0.00276, allocations: 2.795 MB / 275.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.003848, allocations: 0.9305 MB / 276.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.004005, allocations: 4 kB / 276.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.00426, allocations: 67.44 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.004532, allocations: 107.1 kB / 276.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.004802, allocations: 111.7 kB / 277.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.00518, allocations: 370.4 kB / 277.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.005366, allocations: 82.02 kB / 277.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.005681, allocations: 211.5 kB / 277.7 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.00587, allocations: 111.7 kB / 277.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.005918, allocations: 28 kB / 277.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.845e-05/0.005996, allocations: 35.94 kB / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.006053, allocations: 67.73 kB / 277.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.006166, allocations: 107.8 kB / 278 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.0065, allocations: 239.1 kB / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.006502, allocations: 0 / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006503, allocations: 0 / 278.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.006508, allocations: 4 kB / 278.3 MB, free: 12.57 MB / 266.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.0007975/0.007305, allocations: 0.6402 MB / 278.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.007342, allocations: 8.031 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.007486, allocations: 60.69 kB / 279 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.007727, allocations: 217 kB / 279.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.007755, allocations: 24.97 kB / 279.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.007791, allocations: 24.38 kB / 279.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.008104, allocations: 233 kB / 279.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.008114, allocations: 192 / 279.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.008137, allocations: 12.38 kB / 279.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.008151, allocations: 11.94 kB / 279.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.008335, allocations: 115.8 kB / 279.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.009464, allocations: 0.8242 MB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.009731, allocations: 153.6 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.009864, allocations: 79.62 kB / 280.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.009887, allocations: 4 kB / 280.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.009912, allocations: 45.33 kB / 280.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.009914, allocations: 0 / 280.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002598/0.01251, allocations: 1.212 MB / 281.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.01254, allocations: 55.41 kB / 282 MB, free: 8.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01272, allocations: 284.3 kB / 282.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.01274, allocations: 37.7 kB / 282.3 MB, free: 8.312 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.01284, allocations: 235.2 kB / 282.5 MB, free: 8.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.0129, allocations: 134.8 kB / 282.7 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.01298, allocations: 63.73 kB / 282.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.0131, allocations: 0.5156 MB / 283.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.0132, allocations: 56.72 kB / 283.3 MB, free: 7.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01333, allocations: 123.6 kB / 283.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.01357, allocations: 202.1 kB / 283.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01357, allocations: 4 kB / 283.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007353/0.0143, allocations: 435.9 kB / 284 MB, free: 6.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01432, allocations: 4 kB / 284 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01432, allocations: 4 kB / 284 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008992/0.01522, allocations: 315 kB / 284.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.01537, allocations: 47.97 kB / 284.4 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.01822, allocations: 4.614 MB / 289 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01832, allocations: 8 kB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01834, allocations: 12 kB / 289 MB, free: 1.234 MB / 266.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.0001035/0.01844, allocations: 172.5 kB / 289.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.01849, allocations: 39.81 kB / 289.2 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.01854, allocations: 42.98 kB / 289.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01854, allocations: 4 kB / 289.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.01855, allocations: 7.938 kB / 289.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01856, allocations: 3.984 kB / 289.3 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.01961, allocations: 0.7923 MB / 290.1 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.01961, allocations: 0 / 290.1 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01972, allocations: 51.91 kB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008512/0.02057, allocations: 303.1 kB / 290.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.02059, allocations: 8 kB / 290.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.02352, allocations: 4.592 MB / 295 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02353, allocations: 4 kB / 295 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.02434, allocations: 0.6071 MB / 295.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.02437, allocations: 35.62 kB / 295.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.02439, allocations: 8 kB / 295.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.937e-05/0.02449, allocations: 12 kB / 295.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.02456, allocations: 27.94 kB / 295.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.02457, allocations: 11.98 kB / 295.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.02467, allocations: 197.2 kB / 295.9 MB, free: 9.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02467, allocations: 0 / 295.9 MB, free: 9.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.02504, allocations: 100 kB / 296 MB, free: 9.883 MB / 282.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.0001022/0.02514, allocations: 115.2 kB / 296.1 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007672/0.02591, allocations: 0.5807 MB / 296.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02591, allocations: 0 / 296.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.02622, allocations: 0.503 MB / 297.2 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.02646, allocations: 28.42 kB / 297.3 MB, free: 8.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.02749, allocations: 0.6388 MB / 297.9 MB, free: 7.891 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.134e-05/0.02756, allocations: 101.1 kB / 298 MB, free: 7.766 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.02762, allocations: 30.27 kB / 298 MB, free: 7.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.02766, allocations: 16.5 kB / 298 MB, free: 7.719 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02766, allocations: 0 / 298 MB, free: 7.719 MB / 282.7 MB Notification: Performance of Templates: time 0.007343/0.035, allocations: 5.902 MB / 303.9 MB, free: 1.848 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.033295552013442]