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.00146/0.00146, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 86.69 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.48e-05, allocations: 3.984 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08061, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.3829, allocations: 85.68 MB / 448.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3831, allocations: 84.45 kB / 448.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02651/0.4096, allocations: 9.15 MB / 458 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4096, allocations: 0 / 458 MB, free: 2.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4097, allocations: 4 kB / 458 MB, free: 2.5 MB / 330.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.0009778/0.4107, allocations: 0.5869 MB / 458.6 MB, free: 1.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4107, allocations: 15.97 kB / 458.6 MB, free: 1.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.4108, allocations: 43.52 kB / 458.6 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.4112, allocations: 314 kB / 458.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.4113, allocations: 42.08 kB / 459 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.4114, allocations: 27.92 kB / 459 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003973/0.4118, allocations: 244.4 kB / 459.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.4122, allocations: 259.9 kB / 459.5 MB, free: 1.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4123, allocations: 4 kB / 459.5 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.4123, allocations: 0 / 459.5 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4123, allocations: 8 kB / 459.5 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4139, allocations: 1.119 MB / 460.6 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4142, allocations: 246.2 kB / 460.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.4144, allocations: 144 kB / 461 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4145, allocations: 7.953 kB / 461 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.4145, allocations: 39 kB / 461.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.4145, allocations: 3.938 kB / 461.1 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.006839/0.4214, allocations: 1.905 MB / 463 MB, free: 14.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4214, allocations: 89.06 kB / 463.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.4217, allocations: 246.6 kB / 463.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.4217, allocations: 25.7 kB / 463.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.4218, allocations: 162 kB / 463.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4219, allocations: 147.6 kB / 463.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.422, allocations: 3.938 kB / 463.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4221, allocations: 335.6 kB / 464 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4223, allocations: 135.7 kB / 464.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.4225, allocations: 188.2 kB / 464.3 MB, free: 13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.4228, allocations: 153.2 kB / 464.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4228, allocations: 0 / 464.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005806/0.4286, allocations: 1.432 MB / 465.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4286, allocations: 7.984 kB / 465.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4287, allocations: 0 / 465.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005574/0.4342, allocations: 1.031 MB / 466.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4346, allocations: 59.91 kB / 467 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/0.4441, allocations: 4.268 MB / 471.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.4446, allocations: 38.78 kB / 471.3 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4447, allocations: 19.73 kB / 471.3 MB, free: 7.297 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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.0002033/0.4449, allocations: 108.9 kB / 471.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.445, allocations: 23.72 kB / 471.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.4463, allocations: 0.56 MB / 472 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.4464, allocations: 8 kB / 472 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4464, allocations: 4 kB / 472 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4464, allocations: 3.953 kB / 472 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.4489, allocations: 1.137 MB / 473.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4489, allocations: 0 / 473.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.4494, allocations: 99.75 kB / 473.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.4508, allocations: 255.5 kB / 473.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.4508, allocations: 3.984 kB / 473.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.4537, allocations: 2.087 MB / 475.6 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.4537, allocations: 0 / 475.6 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.4553, allocations: 0.9016 MB / 476.5 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.4555, allocations: 144.3 kB / 476.6 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.4556, allocations: 7.984 kB / 476.6 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.456, allocations: 27.98 kB / 476.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.4561, allocations: 36.06 kB / 476.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.4561, allocations: 11.97 kB / 476.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.4563, allocations: 197.9 kB / 476.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4563, allocations: 0 / 476.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007077/0.4571, allocations: 127.4 kB / 477 MB, free: 2.461 MB / 346.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.000269/0.4573, allocations: 147.1 kB / 477.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008029/0.4581, allocations: 0.5226 MB / 477.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4582, allocations: 192 / 477.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.4586, allocations: 327.1 kB / 478 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4589, allocations: 35.64 kB / 478 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.4601, allocations: 0.7021 MB / 478.7 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4604, allocations: 0.8006 MB / 479.5 MB, free: 144 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.4606, allocations: 35.28 kB / 479.6 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.4607, allocations: 30.23 kB / 479.6 MB, free: 80 kB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4607, allocations: 0 / 479.6 MB, free: 80 kB / 346.7 MB Notification: Performance of Templates: time 0.0114/0.4721, allocations: 7.354 MB / 486.9 MB, free: 8.746 MB / 362.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