Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000976/0.000976, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8839/0.8839, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.574e-05, allocations: 6.312 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002668/0.002684, allocations: 2.753 MB / 276.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003736, allocations: 0.9317 MB / 277.9 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.00386, allocations: 10.41 kB / 277.9 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.004052, allocations: 59.38 kB / 277.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.004253, allocations: 107.1 kB / 278 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.004448, allocations: 117.7 kB / 278.2 MB, free: 444 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.004706, allocations: 366.4 kB / 278.5 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.004833, allocations: 70.69 kB / 278.6 MB, free: 4 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.005061, allocations: 223.5 kB / 278.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005194, allocations: 107.7 kB / 278.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.005226, allocations: 28 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.357e-05/0.00528, allocations: 36 kB / 279 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.005318, allocations: 63.75 kB / 279 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.005388, allocations: 111.7 kB / 279.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.005615, allocations: 247.1 kB / 279.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005617, allocations: 0 / 279.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.005618, allocations: 0 / 279.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005622, allocations: 0 / 279.4 MB, free: 15.2 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.0006059/0.006228, allocations: 0.6401 MB / 280 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.006254, allocations: 11.97 kB / 280 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.00637, allocations: 60.75 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.006558, allocations: 217 kB / 280.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.00658, allocations: 25.02 kB / 280.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.00661, allocations: 28.38 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.006833, allocations: 205.1 kB / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006843, allocations: 192 / 280.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.00686, allocations: 12.38 kB / 280.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.006869, allocations: 11.94 kB / 280.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.006982, allocations: 84.5 kB / 280.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.007772, allocations: 0.7974 MB / 281.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.007946, allocations: 143.1 kB / 281.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.008026, allocations: 59.66 kB / 281.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.008043, allocations: 4 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.008061, allocations: 37.39 kB / 281.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.112e-06/0.008062, allocations: 0 / 281.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002233/0.0103, allocations: 1.128 MB / 282.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.01032, allocations: 55.41 kB / 282.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.01047, allocations: 284.1 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.01049, allocations: 33.7 kB / 283.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.01059, allocations: 243.1 kB / 283.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.01065, allocations: 126.9 kB / 283.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.01073, allocations: 67.7 kB / 283.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01085, allocations: 0.5156 MB / 284.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.01092, allocations: 40.72 kB / 284.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.01103, allocations: 115.6 kB / 284.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.01119, allocations: 177.9 kB / 284.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.01119, allocations: 0 / 284.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006696/0.01186, allocations: 403.7 kB / 284.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.01187, allocations: 4 kB / 284.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01188, allocations: 4 kB / 284.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.0127, allocations: 307 kB / 285.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01284, allocations: 55.91 kB / 285.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.0155, allocations: 4.519 MB / 289.7 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.01559, allocations: 12 kB / 289.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.0156, allocations: 12 kB / 289.8 MB, free: 4.273 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 9.356e-05/0.01569, allocations: 172.5 kB / 289.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.01574, allocations: 39.81 kB / 290 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.01578, allocations: 42.95 kB / 290 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01578, allocations: 4 kB / 290 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01579, allocations: 4.031 kB / 290 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01579, allocations: 7.984 kB / 290 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.0167, allocations: 0.7256 MB / 290.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.0167, allocations: 0 / 290.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.0168, allocations: 39.97 kB / 290.8 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.01784, allocations: 311.3 kB / 291.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.01786, allocations: 12 kB / 291.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.02018, allocations: 4.503 MB / 295.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.02019, allocations: 7.938 kB / 295.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.02091, allocations: 0.5641 MB / 296.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.02093, allocations: 27.81 kB / 296.2 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.02095, allocations: 11.98 kB / 296.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.02105, allocations: 8 kB / 296.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.0211, allocations: 35.88 kB / 296.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.02111, allocations: 8 kB / 296.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/0.02118, allocations: 189.1 kB / 296.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02118, allocations: 7.969 kB / 296.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.02153, allocations: 100 kB / 296.6 MB, free: 13.14 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 7.398e-05/0.0216, allocations: 99.25 kB / 296.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.02204, allocations: 0.5654 MB / 297.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02204, allocations: 4 kB / 297.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.02231, allocations: 491.1 kB / 297.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.02251, allocations: 20.5 kB / 297.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009235/0.02343, allocations: 0.6589 MB / 298.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.02349, allocations: 97.11 kB / 298.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.752e-05/0.02355, allocations: 22.3 kB / 298.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.02362, allocations: 94.19 kB / 298.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02362, allocations: 0 / 298.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of Templates: time 0.007381/0.03101, allocations: 6.322 MB / 304.9 MB, free: 4.652 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.980326744262129]