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.001012/0.001012, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00118/0.00118, allocations: 140.3 kB / 24.89 MB, free: 9.207 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.9439/0.9439, allocations: 173.3 MB / 201.5 MB, free: 9.172 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.473e-06/1.473e-06, allocations: 0 / 268.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.57e-05, allocations: 2.312 kB / 268.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004391/0.004416, allocations: 2.799 MB / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.00611, allocations: 0.872 MB / 272.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.006297, allocations: 7.938 kB / 272.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.006573, allocations: 59.45 kB / 272.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.006906, allocations: 103.2 kB / 272.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.007181, allocations: 99.73 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.007585, allocations: 366.4 kB / 272.8 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.007764, allocations: 80.89 kB / 272.9 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.008084, allocations: 215.4 kB / 273.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.008276, allocations: 107.7 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.008331, allocations: 32 kB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.008377, allocations: 28 kB / 273.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.008434, allocations: 71.72 kB / 273.3 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.00854, allocations: 107.8 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.008853, allocations: 227.2 kB / 273.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008857, allocations: 4 kB / 273.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008859, allocations: 0 / 273.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.008865, allocations: 4 kB / 273.7 MB, free: 0.9531 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.000796/0.009661, allocations: 0.5077 MB / 274.2 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.0097, allocations: 12.03 kB / 274.2 MB, free: 420 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.009779, allocations: 40.91 kB / 274.2 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.01003, allocations: 173.3 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.01006, allocations: 21.03 kB / 274.4 MB, free: 160 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.0101, allocations: 28.38 kB / 274.4 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.01043, allocations: 213 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.01044, allocations: 192 / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.01047, allocations: 12.38 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01048, allocations: 11.94 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.01063, allocations: 76.48 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.01172, allocations: 0.6418 MB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.01194, allocations: 113.5 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.01206, allocations: 72.69 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.01208, allocations: 4 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.01211, allocations: 38.56 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.01211, allocations: 0 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003452/0.01556, allocations: 1.203 MB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.01559, allocations: 55.41 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.01575, allocations: 207.4 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.01578, allocations: 33.7 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.01587, allocations: 176.4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.01596, allocations: 122.9 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.01606, allocations: 70.03 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.01616, allocations: 342.7 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.01624, allocations: 32.73 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01636, allocations: 97.97 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01657, allocations: 163.6 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01657, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008103/0.01738, allocations: 334.5 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.0174, allocations: 11.98 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.01741, allocations: 0 / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.01852, allocations: 289.4 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.01878, allocations: 75.89 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/0.02182, allocations: 3.146 MB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.02197, allocations: 11.98 kB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.022, allocations: 12 kB / 281.9 MB, free: 8.23 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.0001281/0.02212, allocations: 133.7 kB / 282.1 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.02218, allocations: 23.98 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.02224, allocations: 38.64 kB / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.02224, allocations: 4 kB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.02225, allocations: 8.031 kB / 282.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.02226, allocations: 3.984 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.02342, allocations: 0.5674 MB / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.02343, allocations: 0 / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.02362, allocations: 51.89 kB / 282.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/0.0247, allocations: 293.5 kB / 283.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.02473, allocations: 4 kB / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.02751, allocations: 3.131 MB / 286.2 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.02752, allocations: 11.88 kB / 286.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.02844, allocations: 474.6 kB / 286.7 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.02848, allocations: 19.86 kB / 286.7 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.02851, allocations: 8 kB / 286.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.02865, allocations: 8 kB / 286.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.02875, allocations: 39.81 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.02878, allocations: 11.98 kB / 286.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.02885, allocations: 60.83 kB / 286.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02885, allocations: 4 kB / 286.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.02945, allocations: 96 kB / 286.9 MB, free: 3.012 MB / 266.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.0001292/0.02958, allocations: 92.41 kB / 287 MB, free: 2.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.03019, allocations: 451.5 kB / 287.4 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.0302, allocations: 4 kB / 287.4 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.03056, allocations: 369.7 kB / 287.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.03083, allocations: 35.7 kB / 287.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.03216, allocations: 0.6354 MB / 288.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.639e-05/0.03226, allocations: 101.1 kB / 288.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.737e-05/0.03235, allocations: 22.28 kB / 288.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.03246, allocations: 79.36 kB / 288.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03246, allocations: 0 / 288.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of Templates: time 0.1188/0.1513, allocations: 6.251 MB / 294.9 MB, free: 28.47 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 -s gbode -gbm=radauIIA3 -emit_protected -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.9911684808321297]