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.001353/0.001353, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001547/0.001547, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9521/0.9521, allocations: 177 MB / 204.8 MB, free: 5.594 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.362e-06/1.362e-06, allocations: 3.938 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.218e-05, allocations: 9.266 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002969/0.002991, allocations: 2.811 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.004191, allocations: 0.9266 MB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.004319, allocations: 8 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.004542, allocations: 71.36 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.004783, allocations: 103.1 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.005016, allocations: 115.7 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.005304, allocations: 370.5 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.00545, allocations: 74.03 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.005688, allocations: 207.6 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.005828, allocations: 119.6 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.005863, allocations: 28 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.005923, allocations: 32 kB / 277.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.005964, allocations: 63.75 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.006206, allocations: 111.7 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006461, allocations: 247 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.006463, allocations: 0 / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006464, allocations: 4 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.006469, allocations: 0 / 278.2 MB, free: 12.18 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.0006632/0.007133, allocations: 0.6363 MB / 278.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.007171, allocations: 15.98 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.007307, allocations: 60.75 kB / 278.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.007541, allocations: 217 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.007573, allocations: 25.02 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.007613, allocations: 24.38 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.007914, allocations: 229 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.007924, allocations: 192 / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.007948, allocations: 12.38 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.007959, allocations: 11.94 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.008129, allocations: 111.8 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009466/0.009075, allocations: 0.8358 MB / 280.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.009296, allocations: 151 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.00942, allocations: 83.61 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.009447, allocations: 8 kB / 280.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.00947, allocations: 41.33 kB / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.009472, allocations: 0 / 280.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002473/0.01194, allocations: 1.208 MB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.01197, allocations: 55.41 kB / 281.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.01215, allocations: 284.3 kB / 282.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.01217, allocations: 33.7 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01227, allocations: 243.2 kB / 282.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.01234, allocations: 118.9 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.01242, allocations: 67.73 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01256, allocations: 0.5156 MB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.01266, allocations: 56.72 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.01278, allocations: 123.6 kB / 283.3 MB, free: 6.766 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.01301, allocations: 194.1 kB / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01301, allocations: 0 / 283.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007132/0.01373, allocations: 439.9 kB / 283.9 MB, free: 6.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01374, allocations: 4 kB / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01375, allocations: 0 / 283.9 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008616/0.01461, allocations: 322.9 kB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.01475, allocations: 55.91 kB / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.01783, allocations: 4.6 MB / 288.9 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.01792, allocations: 8 kB / 288.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.01794, allocations: 16 kB / 288.9 MB, free: 0.8555 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.0001002/0.01804, allocations: 172.5 kB / 289.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.01809, allocations: 43.84 kB / 289.1 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.01813, allocations: 38.95 kB / 289.2 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01813, allocations: 4 kB / 289.2 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.01813, allocations: 3.938 kB / 289.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01814, allocations: 7.984 kB / 289.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.01915, allocations: 0.7959 MB / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01915, allocations: 0 / 290 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.01926, allocations: 43.97 kB / 290 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007935/0.02005, allocations: 307.1 kB / 290.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.02007, allocations: 8 kB / 290.3 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.02277, allocations: 4.581 MB / 294.9 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.02277, allocations: 4 kB / 294.9 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/0.02358, allocations: 0.611 MB / 295.5 MB, free: 9.895 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.0236, allocations: 27.75 kB / 295.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.02362, allocations: 4 kB / 295.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.02371, allocations: 12 kB / 295.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.02377, allocations: 31.94 kB / 295.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02379, allocations: 16.02 kB / 295.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.019e-05/0.02388, allocations: 193.1 kB / 295.8 MB, free: 9.621 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02388, allocations: 0 / 295.8 MB, free: 9.621 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.02424, allocations: 100 kB / 295.9 MB, free: 9.523 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 8.491e-05/0.02432, allocations: 107.2 kB / 296 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.02486, allocations: 0.5932 MB / 296.6 MB, free: 8.777 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02486, allocations: 4 kB / 296.6 MB, free: 8.773 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.02515, allocations: 0.4949 MB / 297.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.02537, allocations: 41.58 kB / 297.1 MB, free: 8.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.02635, allocations: 0.6423 MB / 297.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.753e-05/0.02642, allocations: 109 kB / 297.9 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.356e-05/0.02647, allocations: 22.28 kB / 297.9 MB, free: 7.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.02651, allocations: 20.5 kB / 297.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02651, allocations: 0 / 297.9 MB, free: 7.344 MB / 282.7 MB Notification: Performance of Templates: time 0.006967/0.03348, allocations: 5.9 MB / 303.8 MB, free: 1.473 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: 3.009072956163436]