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.000934/0.000934, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009334/0.0009334, allocations: 147.1 kB / 24.89 MB, free: 8.742 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.9704/0.9704, allocations: 173.4 MB / 201.5 MB, free: 8.75 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.593e-06/1.593e-06, allocations: 0 / 268.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.553e-05, allocations: 6.109 kB / 268.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003738/0.003764, allocations: 2.764 MB / 271.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.005199, allocations: 0.8603 MB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.005347, allocations: 4 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.005569, allocations: 67.44 kB / 272.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.005842, allocations: 107.1 kB / 272.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.006077, allocations: 103.7 kB / 272.4 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.00643, allocations: 362.5 kB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.006592, allocations: 80.89 kB / 272.8 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.006867, allocations: 211.5 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.007028, allocations: 107.7 kB / 273.1 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.007073, allocations: 32 kB / 273.1 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.552e-05/0.007109, allocations: 31.94 kB / 273.2 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.007168, allocations: 71.67 kB / 273.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.007265, allocations: 103.8 kB / 273.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.007546, allocations: 235.2 kB / 273.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007548, allocations: 0 / 273.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.007549, allocations: 0 / 273.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007553, allocations: 4 kB / 273.6 MB, free: 0.918 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.0007033/0.008257, allocations: 0.5077 MB / 274.1 MB, free: 396 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00829, allocations: 12.03 kB / 274.1 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/0.008361, allocations: 40.91 kB / 274.1 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.00858, allocations: 181.3 kB / 274.3 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.008606, allocations: 17.03 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.008646, allocations: 28.38 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.008944, allocations: 217 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.008954, allocations: 192 / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.008973, allocations: 8.375 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.008984, allocations: 11.94 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.00911, allocations: 76.55 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.01006, allocations: 0.6301 MB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01027, allocations: 121.5 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.639e-05/0.01037, allocations: 60.77 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.01039, allocations: 4 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.01041, allocations: 42.5 kB / 275.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.944e-06/0.01042, allocations: 4 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003/0.01342, allocations: 1.201 MB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.01344, allocations: 55.41 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.0136, allocations: 215.4 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.01362, allocations: 29.7 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.0137, allocations: 172.4 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.01377, allocations: 126.9 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.01386, allocations: 62.05 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.01396, allocations: 350.7 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.01403, allocations: 40.72 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/0.01413, allocations: 86.98 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.01432, allocations: 151.7 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01432, allocations: 4 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006882/0.01501, allocations: 342.3 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.01503, allocations: 12.09 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01503, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009189/0.01595, allocations: 289.3 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.01613, allocations: 63.91 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.01877, allocations: 3.139 MB / 281.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01888, allocations: 12 kB / 281.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.0189, allocations: 12 kB / 281.8 MB, free: 8.211 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.0001128/0.01901, allocations: 125.7 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.01907, allocations: 27.97 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.01912, allocations: 42.64 kB / 282 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01912, allocations: 4 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.01913, allocations: 4 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01914, allocations: 3.938 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.02014, allocations: 0.5674 MB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.02015, allocations: 0 / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.02028, allocations: 51.91 kB / 282.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008441/0.02112, allocations: 289.5 kB / 282.9 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.02113, allocations: 7.984 kB / 282.9 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.02304, allocations: 3.135 MB / 286.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02304, allocations: 4.062 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.02364, allocations: 474.5 kB / 286.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.02367, allocations: 19.86 kB / 286.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.02369, allocations: 8 kB / 286.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.02377, allocations: 15.98 kB / 286.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.02384, allocations: 31.94 kB / 286.6 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.02385, allocations: 4 kB / 286.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.02391, allocations: 72.53 kB / 286.7 MB, free: 3.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02391, allocations: 3.938 kB / 286.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.02429, allocations: 104 kB / 286.8 MB, free: 2.988 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.0001034/0.0244, allocations: 84.45 kB / 286.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004461/0.02484, allocations: 455.3 kB / 287.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.02485, allocations: 256 / 287.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.0251, allocations: 381.7 kB / 287.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.02528, allocations: 20.73 kB / 287.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.02623, allocations: 0.6352 MB / 288.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.02631, allocations: 101.1 kB / 288.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.02636, allocations: 22.28 kB / 288.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.02643, allocations: 71.38 kB / 288.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02643, allocations: 0 / 288.5 MB, free: 1.113 MB / 266.7 MB Notification: Performance of Templates: time 0.125/0.1515, allocations: 6.124 MB / 294.7 MB, free: 28.41 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 -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.848817205056548]