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.0009896/0.0009896, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002358, allocations: 445.8 kB / 10.44 MB, free: 256 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.0008806/0.0008806, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002173, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8366/0.8366, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.143/0.9795, allocations: 52.48 MB / 238.5 MB, free: 7.625 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.313e-06/1.313e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.528e-05, allocations: 2.312 kB / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002912/0.002927, allocations: 2.808 MB / 242.5 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.004088, allocations: 0.8695 MB / 243.4 MB, free: 2.695 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.004228, allocations: 7.938 kB / 243.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.004394, allocations: 68.52 kB / 243.5 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.004588, allocations: 106.2 kB / 243.6 MB, free: 2.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.004803, allocations: 103.7 kB / 243.7 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.0051, allocations: 362.4 kB / 244 MB, free: 2.062 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.005245, allocations: 68.02 kB / 244.1 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.005519, allocations: 246.4 kB / 244.4 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.00566, allocations: 107.7 kB / 244.5 MB, free: 1.648 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.0057, allocations: 29.09 kB / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.005732, allocations: 28 kB / 244.5 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.005772, allocations: 51.81 kB / 244.6 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.00584, allocations: 90.78 kB / 244.7 MB, free: 1.457 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.006056, allocations: 215.2 kB / 244.9 MB, free: 1.246 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.006066, allocations: 0 / 244.9 MB, free: 1.246 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006067, allocations: 0 / 244.9 MB, free: 1.246 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.006077, allocations: 0 / 244.9 MB, free: 1.246 MB / 234.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.0006239/0.006701, allocations: 0.5639 MB / 245.4 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.006729, allocations: 8.031 kB / 245.4 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.006788, allocations: 50.67 kB / 245.5 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.006968, allocations: 173.2 kB / 245.7 MB, free: 416 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.006993, allocations: 21.03 kB / 245.7 MB, free: 392 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.007028, allocations: 28.38 kB / 245.7 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.007256, allocations: 217.6 kB / 245.9 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.007265, allocations: 0.875 kB / 245.9 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.007281, allocations: 16.38 kB / 245.9 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007289, allocations: 9.906 kB / 245.9 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.007384, allocations: 72.55 kB / 246 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.008127, allocations: 0.6438 MB / 246.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.008293, allocations: 130.9 kB / 246.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.008369, allocations: 60.77 kB / 246.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.00839, allocations: 4.5 kB / 246.8 MB, free: 15.15 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.008409, allocations: 36.28 kB / 246.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.00841, allocations: 0 / 246.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.002291/0.0107, allocations: 1.198 MB / 248.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.01073, allocations: 63.2 kB / 248.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01084, allocations: 211.3 kB / 248.3 MB, free: 13.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01085, allocations: 33.7 kB / 248.4 MB, free: 13.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.01091, allocations: 176.5 kB / 248.6 MB, free: 13.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.01097, allocations: 126.9 kB / 248.7 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.01104, allocations: 62.05 kB / 248.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.01111, allocations: 342.7 kB / 249.1 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.01116, allocations: 32.73 kB / 249.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.01124, allocations: 98.97 kB / 249.2 MB, free: 12.69 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01138, allocations: 164.9 kB / 249.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01138, allocations: 4 kB / 249.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005164/0.0119, allocations: 342.5 kB / 249.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01191, allocations: 4 kB / 249.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01192, allocations: 4 kB / 249.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/0.01265, allocations: 305.4 kB / 250 MB, free: 11.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01283, allocations: 67.89 kB / 250.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.01491, allocations: 3.144 MB / 253.2 MB, free: 8.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.684e-05/0.015, allocations: 12 kB / 253.2 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01501, allocations: 4 kB / 253.2 MB, free: 8.445 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 8.902e-05/0.0151, allocations: 137.8 kB / 253.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.01513, allocations: 27.97 kB / 253.4 MB, free: 8.273 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/0.01518, allocations: 38.64 kB / 253.4 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01518, allocations: 4 kB / 253.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.01519, allocations: 0 / 253.4 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01519, allocations: 7.984 kB / 253.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007846/0.01598, allocations: 0.5666 MB / 254 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01598, allocations: 4 kB / 254 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.01612, allocations: 59.14 kB / 254.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.01614, allocations: 27.88 kB / 254.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006853/0.01682, allocations: 297.6 kB / 254.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.01684, allocations: 7.984 kB / 254.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.01872, allocations: 3.127 MB / 257.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01872, allocations: 0 / 257.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.0193, allocations: 482.3 kB / 258 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01932, allocations: 8.031 kB / 258 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.0194, allocations: 15.98 kB / 258 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.01947, allocations: 31.88 kB / 258 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01948, allocations: 11.94 kB / 258.1 MB, free: 3.371 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.01953, allocations: 68.53 kB / 258.1 MB, free: 3.301 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01953, allocations: 3.938 kB / 258.1 MB, free: 3.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.01986, allocations: 100 kB / 258.2 MB, free: 3.199 MB / 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 9.791e-05/0.01996, allocations: 96.36 kB / 258.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.02036, allocations: 447.6 kB / 258.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.02038, allocations: 8 kB / 258.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.02063, allocations: 395.5 kB / 259.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.02089, allocations: 197.2 kB / 259.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.023, allocations: 0.6493 MB / 260 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.336e-05/0.02307, allocations: 101.1 kB / 260.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.341e-05/0.02314, allocations: 22.97 kB / 260.1 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.02323, allocations: 83.36 kB / 260.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02323, allocations: 0 / 260.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of Templates: time 0.007336/0.03056, allocations: 5.95 MB / 266.1 MB, free: 11.17 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.51491866633296]