Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.071e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09493, allocations: 47.57 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5073, allocations: 86.1 MB / 455.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5077, allocations: 83.2 kB / 455.3 MB, free: 7.055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04663/0.5543, allocations: 9.286 MB / 464.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5544, allocations: 0 / 464.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.5544, allocations: 7.984 kB / 464.6 MB, free: 15.07 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001674/0.5561, allocations: 0.5876 MB / 465.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.5561, allocations: 8.031 kB / 465.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.5563, allocations: 43.53 kB / 465.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.557, allocations: 317.8 kB / 465.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.5572, allocations: 53.81 kB / 465.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.5575, allocations: 31.69 kB / 465.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.5582, allocations: 300.3 kB / 465.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5583, allocations: 3.938 kB / 465.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.5583, allocations: 11.88 kB / 465.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5584, allocations: 8 kB / 465.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.5591, allocations: 254.5 kB / 466.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.5618, allocations: 1.183 MB / 467.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.5625, allocations: 261.9 kB / 467.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.5629, allocations: 148.1 kB / 467.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.5629, allocations: 4 kB / 467.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.563, allocations: 50.98 kB / 467.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/0.563, allocations: 0 / 467.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.0154/0.5784, allocations: 2.143 MB / 469.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.5785, allocations: 85.11 kB / 470 MB, free: 9.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.5791, allocations: 264.9 kB / 470.3 MB, free: 9.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.5792, allocations: 41.7 kB / 470.3 MB, free: 9.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.5794, allocations: 218.9 kB / 470.5 MB, free: 9.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.5796, allocations: 145.9 kB / 470.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.5796, allocations: 4 kB / 470.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5797, allocations: 326.8 kB / 471 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.5802, allocations: 144.9 kB / 471.2 MB, free: 8.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.5807, allocations: 197.9 kB / 471.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.5812, allocations: 157.6 kB / 471.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5812, allocations: 4 kB / 471.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01169/0.5929, allocations: 1.458 MB / 473 MB, free: 6.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.593, allocations: 7.125 kB / 473 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.593, allocations: 4 kB / 473 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.6039, allocations: 1.037 MB / 474 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.6045, allocations: 63.91 kB / 474.1 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/0.6225, allocations: 4.349 MB / 478.4 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.6234, allocations: 35.97 kB / 478.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.6235, allocations: 16 kB / 478.5 MB, free: 1.301 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.6237, allocations: 140.9 kB / 478.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.6238, allocations: 27.72 kB / 478.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.6264, allocations: 0.5976 MB / 479.2 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.6265, allocations: 7.984 kB / 479.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6265, allocations: 4 kB / 479.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.6265, allocations: 0 / 479.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.6314, allocations: 1.22 MB / 480.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6314, allocations: 0 / 480.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.6323, allocations: 95.88 kB / 480.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.6349, allocations: 264.5 kB / 480.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.6351, allocations: 19.98 kB / 480.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.6403, allocations: 2.135 MB / 483 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6404, allocations: 0 / 483 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.6435, allocations: 0.9302 MB / 483.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.6439, allocations: 144.7 kB / 484 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.644, allocations: 16.08 kB / 484.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.6448, allocations: 27.98 kB / 484.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.645, allocations: 48.31 kB / 484.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.645, allocations: 12 kB / 484.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.6454, allocations: 209.4 kB / 484.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6454, allocations: 0 / 484.3 MB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009762/0.6464, allocations: 143.9 kB / 484.5 MB, free: 11.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003879/0.6468, allocations: 155.1 kB / 484.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.6484, allocations: 0.5464 MB / 485.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6484, allocations: 0 / 485.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007931/0.6492, allocations: 361.1 kB / 485.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.6498, allocations: 32.92 kB / 485.6 MB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.6521, allocations: 0.7552 MB / 486.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.6526, allocations: 0.797 MB / 487.1 MB, free: 8.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.6528, allocations: 35.42 kB / 487.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6528, allocations: 0 / 487.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of Templates: time 0.01453/0.6674, allocations: 6.189 MB / 493.3 MB, free: 2.062 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches