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.001378/0.001378, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.00168/0.00168, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9245/0.9245, allocations: 177 MB / 205.9 MB, free: 4.457 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.603e-06/1.603e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.145e-05, allocations: 3.656 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00422/0.004241, allocations: 2.761 MB / 276.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.00604, allocations: 0.9219 MB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.006285, allocations: 7.938 kB / 277.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.006594, allocations: 64.25 kB / 277.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.007021, allocations: 113.4 kB / 278 MB, free: 416 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.007357, allocations: 108.5 kB / 278.1 MB, free: 308 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.007782, allocations: 374.4 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.007961, allocations: 74.03 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.008299, allocations: 207.6 kB / 278.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.008501, allocations: 115.6 kB / 278.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.074e-05/0.008551, allocations: 32 kB / 278.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.327e-05/0.008625, allocations: 28 kB / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.008684, allocations: 71.73 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.008797, allocations: 103.8 kB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.009146, allocations: 247 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.009149, allocations: 0 / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00915, allocations: 4 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.009155, allocations: 0 / 279.3 MB, free: 15.07 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.0008746/0.01003, allocations: 0.6401 MB / 280 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.01006, allocations: 8.031 kB / 280 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.01025, allocations: 64.75 kB / 280 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.01054, allocations: 213 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.01057, allocations: 25.02 kB / 280.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.01062, allocations: 32.38 kB / 280.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.01097, allocations: 205 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01098, allocations: 4.125 kB / 280.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.011, allocations: 12.38 kB / 280.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01102, allocations: 11.94 kB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.0112, allocations: 84.5 kB / 280.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.01246, allocations: 0.7935 MB / 281.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.01273, allocations: 139 kB / 281.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.01286, allocations: 67.7 kB / 281.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.01289, allocations: 8 kB / 281.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.01291, allocations: 41.39 kB / 281.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.864e-06/0.01292, allocations: 0 / 281.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003505/0.01642, allocations: 1.128 MB / 282.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.01645, allocations: 55.41 kB / 282.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.01667, allocations: 280.2 kB / 283.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.0167, allocations: 33.7 kB / 283.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.01684, allocations: 239.1 kB / 283.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.01693, allocations: 122.9 kB / 283.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.01704, allocations: 67.7 kB / 283.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.01721, allocations: 0.5234 MB / 284.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01731, allocations: 44.66 kB / 284.1 MB, free: 10 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01746, allocations: 107.6 kB / 284.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.01772, allocations: 181.9 kB / 284.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01772, allocations: 0 / 284.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001059/0.01878, allocations: 399.9 kB / 284.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.0188, allocations: 4 kB / 284.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01881, allocations: 7.938 kB / 284.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.02019, allocations: 307 kB / 285.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.0204, allocations: 59.91 kB / 285.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.02434, allocations: 4.5 MB / 289.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.02451, allocations: 11.98 kB / 289.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.02453, allocations: 15.94 kB / 289.7 MB, free: 4.141 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.0001352/0.02467, allocations: 172.5 kB / 289.9 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.02475, allocations: 43.84 kB / 289.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.548e-05/0.02481, allocations: 38.95 kB / 289.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.02482, allocations: 4 kB / 289.9 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.02482, allocations: 4 kB / 289.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02483, allocations: 4 kB / 289.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.02632, allocations: 0.7333 MB / 290.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.02633, allocations: 0 / 290.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.02649, allocations: 39.98 kB / 290.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.02784, allocations: 307 kB / 291 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.02786, allocations: 11.98 kB / 291 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.03158, allocations: 4.488 MB / 295.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.03158, allocations: 7.938 kB / 295.5 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.03246, allocations: 0.5641 MB / 296.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.03249, allocations: 23.81 kB / 296.1 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.03251, allocations: 8 kB / 296.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.03261, allocations: 11.98 kB / 296.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.03267, allocations: 39.81 kB / 296.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.03268, allocations: 16.03 kB / 296.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.03275, allocations: 193 kB / 296.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03275, allocations: 0 / 296.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.03311, allocations: 104 kB / 296.5 MB, free: 13.02 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 9.651e-05/0.03321, allocations: 99.25 kB / 296.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.03367, allocations: 0.5657 MB / 297.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.03367, allocations: 0 / 297.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.03395, allocations: 499.6 kB / 297.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.03415, allocations: 24.98 kB / 297.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.03503, allocations: 0.6485 MB / 298.3 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.03509, allocations: 101.1 kB / 298.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.03515, allocations: 26.28 kB / 298.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.03522, allocations: 90.19 kB / 298.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03522, allocations: 0 / 298.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of Templates: time 0.007823/0.04305, allocations: 6.337 MB / 304.9 MB, free: 4.535 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] 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","",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.9343480011448264]