Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008651/0.0008651, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003325/0.003325, allocations: 153.4 kB / 24.69 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8526/0.8526, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.56e-05, allocations: 6.219 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002375/0.00239, allocations: 2.608 MB / 328.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.003304, allocations: 0.9033 MB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.003406, allocations: 4 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.003602, allocations: 67.44 kB / 329.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.003799, allocations: 115 kB / 329.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.003994, allocations: 111.7 kB / 329.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.004237, allocations: 362.5 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.004369, allocations: 70.05 kB / 330 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.004804, allocations: 215.4 kB / 330.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.004928, allocations: 111.7 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.004958, allocations: 28 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.005009, allocations: 43.86 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.005044, allocations: 67.73 kB / 330.5 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.512e-05/0.005109, allocations: 111.8 kB / 330.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.005391, allocations: 374.8 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005395, allocations: 0 / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005396, allocations: 0 / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.0054, allocations: 0 / 330.9 MB, free: 10.19 MB / 298.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.0006066/0.006006, allocations: 0.5364 MB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.006038, allocations: 11.98 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.006141, allocations: 44.67 kB / 331.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.006358, allocations: 206.2 kB / 331.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.006381, allocations: 21.03 kB / 331.7 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.006414, allocations: 32.38 kB / 331.8 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.006717, allocations: 276.3 kB / 332.1 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006727, allocations: 4.188 kB / 332.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.006745, allocations: 8.375 kB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.006752, allocations: 11.94 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.007011, allocations: 214.5 kB / 332.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.007872, allocations: 0.8055 MB / 333.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.008139, allocations: 198.2 kB / 333.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.008289, allocations: 108.7 kB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.008309, allocations: 4 kB / 333.4 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.008335, allocations: 38.48 kB / 333.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.008336, allocations: 0 / 333.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002547/0.01088, allocations: 1.394 MB / 334.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.01091, allocations: 55.41 kB / 334.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.01106, allocations: 241.7 kB / 335.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.01108, allocations: 29.7 kB / 335.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.01116, allocations: 188.5 kB / 335.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.01121, allocations: 119 kB / 335.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.01129, allocations: 70.02 kB / 335.5 MB, free: 5.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.01137, allocations: 342.8 kB / 335.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.01151, allocations: 104.7 kB / 336 MB, free: 4.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.01168, allocations: 173.1 kB / 336.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.01199, allocations: 280 kB / 336.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01199, allocations: 0 / 336.4 MB, free: 4.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007712/0.01276, allocations: 0.5219 MB / 336.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.01277, allocations: 4 kB / 336.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01278, allocations: 4 kB / 336.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/0.0136, allocations: 245.4 kB / 337.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.01374, allocations: 55.91 kB / 337.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.01645, allocations: 3.845 MB / 341.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.569e-05/0.01654, allocations: 16.02 kB / 341.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.01656, allocations: 16 kB / 341.1 MB, free: 15.54 MB / 314.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.0001063/0.01667, allocations: 157.8 kB / 341.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.0167, allocations: 27.84 kB / 341.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.01674, allocations: 38.95 kB / 341.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01674, allocations: 4 kB / 341.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.01675, allocations: 3.938 kB / 341.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01675, allocations: 4 kB / 341.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.01783, allocations: 0.8559 MB / 342.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01783, allocations: 8.062 kB / 342.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01794, allocations: 47.91 kB / 342.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/0.01845, allocations: 229.5 kB / 342.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.01847, allocations: 7.984 kB / 342.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.02122, allocations: 3.835 MB / 346.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.02122, allocations: 7.969 kB / 346.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/0.02214, allocations: 0.7168 MB / 347 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.02216, allocations: 31.83 kB / 347.1 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.02218, allocations: 8 kB / 347.1 MB, free: 9.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.02228, allocations: 15.98 kB / 347.1 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.02233, allocations: 31.94 kB / 347.1 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.02234, allocations: 8 kB / 347.1 MB, free: 9.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.02244, allocations: 169.2 kB / 347.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02244, allocations: 3.938 kB / 347.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.02278, allocations: 100 kB / 347.4 MB, free: 8.949 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.257e-05/0.02287, allocations: 111.3 kB / 347.5 MB, free: 8.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.02345, allocations: 0.5484 MB / 348 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02345, allocations: 256 / 348 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.02374, allocations: 425.1 kB / 348.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.02395, allocations: 27.25 kB / 348.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.02476, allocations: 0.674 MB / 349.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.02486, allocations: 173.6 kB / 349.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.02491, allocations: 24.5 kB / 349.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of SimCode: time 3.71e-07/0.02491, allocations: 0 / 349.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of Templates: time 0.005129/0.03004, allocations: 6.224 MB / 355.6 MB, free: 0.6328 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.590035503730178]