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.001396/0.001396, allocations: 81.91 kB / 21.42 MB, free: 3.066 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.001752/0.001752, allocations: 163 kB / 24.82 MB, free: 9.312 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.9754/0.9754, allocations: 177 MB / 205.1 MB, free: 5.488 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.613e-06/1.613e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.734e-05, allocations: 5.266 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003105/0.003122, allocations: 2.772 MB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004519, allocations: 0.9189 MB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.004658, allocations: 11.94 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.00486, allocations: 63.38 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.005102, allocations: 111.1 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.005364, allocations: 111.7 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.005664, allocations: 370.4 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.005802, allocations: 74.03 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.006045, allocations: 211.5 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.006186, allocations: 119.7 kB / 278.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.006224, allocations: 28 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.789e-05/0.006292, allocations: 32 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.006333, allocations: 67.73 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.006406, allocations: 107.8 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.006644, allocations: 251 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006646, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006646, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.00665, allocations: 0 / 278.5 MB, free: 12 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.0008663/0.007516, allocations: 0.6401 MB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.007548, allocations: 11.98 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.007663, allocations: 64.73 kB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.007852, allocations: 213 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.007874, allocations: 21.03 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.007903, allocations: 28.38 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.008125, allocations: 213 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.008133, allocations: 192 / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.008151, allocations: 12.38 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.008158, allocations: 7.938 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.008268, allocations: 84.52 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008045/0.009072, allocations: 0.7935 MB / 280.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.009255, allocations: 145.7 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.00934, allocations: 67.62 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.00936, allocations: 4 kB / 280.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.009382, allocations: 41.39 kB / 280.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.009384, allocations: 0 / 280.9 MB, free: 9.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.00226/0.01164, allocations: 1.131 MB / 282 MB, free: 8.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.01167, allocations: 55.41 kB / 282 MB, free: 8.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01182, allocations: 276.2 kB / 282.3 MB, free: 7.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01184, allocations: 33.7 kB / 282.4 MB, free: 7.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.01194, allocations: 243.1 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/0.012, allocations: 126.9 kB / 282.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.568e-05/0.01208, allocations: 67.7 kB / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01221, allocations: 0.5156 MB / 283.3 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.01227, allocations: 44.7 kB / 283.3 MB, free: 6.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.01237, allocations: 111.6 kB / 283.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.01254, allocations: 174 kB / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.01254, allocations: 0 / 283.6 MB, free: 6.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006417/0.01318, allocations: 403.9 kB / 284 MB, free: 6.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.0132, allocations: 4 kB / 284 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.0132, allocations: 0 / 284 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/0.01403, allocations: 311 kB / 284.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01417, allocations: 59.91 kB / 284.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.01699, allocations: 4.504 MB / 288.9 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.01709, allocations: 8 kB / 288.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.01711, allocations: 15.98 kB / 288.9 MB, free: 1.07 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.0001077/0.01722, allocations: 176.5 kB / 289.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.01727, allocations: 39.81 kB / 289.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.01731, allocations: 38.95 kB / 289.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01731, allocations: 4 kB / 289.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.01732, allocations: 8.031 kB / 289.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01733, allocations: 0 / 289.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.01826, allocations: 0.7416 MB / 289.9 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01826, allocations: 0 / 289.9 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01837, allocations: 36.06 kB / 289.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007561/0.01913, allocations: 311.2 kB / 290.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.01915, allocations: 11.98 kB / 290.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.02184, allocations: 4.504 MB / 294.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02184, allocations: 3.938 kB / 294.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.02255, allocations: 0.568 MB / 295.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.02257, allocations: 23.81 kB / 295.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.02259, allocations: 4 kB / 295.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.02268, allocations: 15.98 kB / 295.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.02274, allocations: 35.88 kB / 295.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.02275, allocations: 8 kB / 295.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.323e-05/0.02284, allocations: 193 kB / 295.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02284, allocations: 0 / 295.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003845/0.02322, allocations: 108 kB / 295.7 MB, free: 9.934 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.957e-05/0.02331, allocations: 99.25 kB / 295.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.02378, allocations: 0.562 MB / 296.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02378, allocations: 4.25 kB / 296.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.02407, allocations: 0.491 MB / 296.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.02429, allocations: 28.44 kB / 296.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.02521, allocations: 0.6462 MB / 297.5 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.158e-05/0.02528, allocations: 105 kB / 297.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.02534, allocations: 18.28 kB / 297.7 MB, free: 7.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.02542, allocations: 98.19 kB / 297.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02542, allocations: 0 / 297.8 MB, free: 7.738 MB / 282.7 MB Notification: Performance of Templates: time 0.007753/0.03317, allocations: 6.194 MB / 304 MB, free: 1.559 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.9857821189798415]