Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001075/0.001075, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007398/0.0007398, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.421e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.087, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.3921, allocations: 86.11 MB / 456.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.3924, allocations: 81.89 kB / 456.2 MB, free: 7.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02933/0.4217, allocations: 9.28 MB / 465.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4218, allocations: 4 kB / 465.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4218, allocations: 4 kB / 465.5 MB, free: 15.19 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.001045/0.4229, allocations: 0.5832 MB / 466.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4229, allocations: 12.03 kB / 466.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.423, allocations: 35.53 kB / 466.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.4234, allocations: 325.8 kB / 466.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.259e-05/0.4235, allocations: 51.77 kB / 466.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4237, allocations: 38.55 kB / 466.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.4242, allocations: 292.4 kB / 466.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4242, allocations: 0 / 466.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.4242, allocations: 14.06 kB / 466.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4242, allocations: 8 kB / 466.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.4247, allocations: 266.5 kB / 467.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.4266, allocations: 1.175 MB / 468.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.427, allocations: 267.1 kB / 468.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.4272, allocations: 141.7 kB / 468.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4273, allocations: 7.984 kB / 468.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.4273, allocations: 42.56 kB / 468.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.4273, allocations: 4 kB / 468.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.008393/0.4357, allocations: 2.155 MB / 470.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4358, allocations: 81.11 kB / 471 MB, free: 9.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.4362, allocations: 265 kB / 471.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4362, allocations: 33.69 kB / 471.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.4363, allocations: 172.5 kB / 471.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4365, allocations: 141.9 kB / 471.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.4365, allocations: 4 kB / 471.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4367, allocations: 342.8 kB / 471.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.437, allocations: 140.9 kB / 472 MB, free: 8.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.4373, allocations: 205.8 kB / 472.2 MB, free: 8.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.4376, allocations: 161.6 kB / 472.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4376, allocations: 0 / 472.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006145/0.4438, allocations: 1.466 MB / 473.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4438, allocations: 4 kB / 473.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.4438, allocations: 4 kB / 473.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005754/0.4496, allocations: 1.045 MB / 474.9 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.4499, allocations: 59.91 kB / 475 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4602, allocations: 4.342 MB / 479.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.4609, allocations: 31.98 kB / 479.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.4609, allocations: 19.98 kB / 479.4 MB, free: 1 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.0001562/0.4611, allocations: 132.8 kB / 479.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4612, allocations: 35.61 kB / 479.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.4628, allocations: 0.5977 MB / 480.1 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4628, allocations: 4 kB / 480.1 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4628, allocations: 4 kB / 480.1 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.4628, allocations: 3.984 kB / 480.1 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.4657, allocations: 1.221 MB / 481.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4657, allocations: 0 / 481.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.4662, allocations: 91.88 kB / 481.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.4676, allocations: 268.4 kB / 481.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.4677, allocations: 8 kB / 481.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003214/0.4709, allocations: 2.155 MB / 483.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4709, allocations: 0 / 483.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.4727, allocations: 0.9301 MB / 484.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4729, allocations: 144.7 kB / 484.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.473, allocations: 12 kB / 485 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.4734, allocations: 35.97 kB / 485 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4736, allocations: 40.33 kB / 485 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.4736, allocations: 12 kB / 485 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002216/0.4738, allocations: 205.4 kB / 485.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4738, allocations: 8 kB / 485.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006655/0.4745, allocations: 143.9 kB / 485.4 MB, free: 10.72 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.0002849/0.4748, allocations: 151.1 kB / 485.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.4757, allocations: 0.5503 MB / 486.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4758, allocations: 0 / 486.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.4762, allocations: 353.3 kB / 486.4 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.4766, allocations: 32.92 kB / 486.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.478, allocations: 0.7301 MB / 487.2 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.4784, allocations: 0.797 MB / 488 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001754/0.4786, allocations: 38.95 kB / 488 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4787, allocations: 27.42 kB / 488.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4787, allocations: 0 / 488.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of Templates: time 0.01274/0.4914, allocations: 8.169 MB / 496.2 MB, free: 15.77 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches