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.001172/0.001172, allocations: 181.7 kB / 17.01 MB, free: 5.125 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.566/1.566, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008202/0.0008209, allocations: 92.14 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 11.98 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2909, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4068, allocations: 86.2 MB / 462 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4071, allocations: 79.95 kB / 462.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02825/0.4354, allocations: 9.294 MB / 471.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4355, allocations: 0 / 471.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.4355, allocations: 4 kB / 471.4 MB, free: 1.031 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.001321/0.4368, allocations: 0.651 MB / 472 MB, free: 340 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4369, allocations: 8.031 kB / 472.1 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.437, allocations: 35.56 kB / 472.1 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.4375, allocations: 328.1 kB / 472.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.08e-05/0.4376, allocations: 46.27 kB / 472.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.4377, allocations: 47.97 kB / 472.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.4384, allocations: 316.5 kB / 472.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4384, allocations: 3.938 kB / 472.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.4384, allocations: 12 kB / 472.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4384, allocations: 8 kB / 472.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.4391, allocations: 302.1 kB / 473.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.4409, allocations: 1.177 MB / 474.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000596/0.4415, allocations: 307.8 kB / 474.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.4416, allocations: 4 kB / 474.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.4416, allocations: 46.5 kB / 474.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.4416, allocations: 0 / 474.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0118/0.4534, allocations: 2.824 MB / 477.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.4535, allocations: 89.05 kB / 477.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.4539, allocations: 260.2 kB / 477.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.454, allocations: 33.7 kB / 477.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4541, allocations: 168.5 kB / 478 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4542, allocations: 145.9 kB / 478.2 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.4543, allocations: 4 kB / 478.2 MB, free: 9.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4544, allocations: 342.8 kB / 478.5 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.4548, allocations: 168.8 kB / 478.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.4552, allocations: 229.8 kB / 478.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.4557, allocations: 189.6 kB / 479.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4557, allocations: 4 kB / 479.1 MB, free: 9 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009885/0.4567, allocations: 493 kB / 479.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4567, allocations: 8 kB / 479.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4567, allocations: 0 / 479.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4567, allocations: 8 kB / 479.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.4574, allocations: 131.8 kB / 479.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.4574, allocations: 7.984 kB / 479.7 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.4578, allocations: 31.98 kB / 479.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.4578, allocations: 19.98 kB / 479.8 MB, free: 8.309 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.458, allocations: 149.8 kB / 479.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.4581, allocations: 35.56 kB / 479.9 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.4604, allocations: 0.7266 MB / 480.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4605, allocations: 7.953 kB / 480.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.4605, allocations: 4 kB / 480.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4605, allocations: 3.984 kB / 480.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.4637, allocations: 1.326 MB / 482 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4638, allocations: 0 / 482 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.4642, allocations: 95.88 kB / 482.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001837/0.4661, allocations: 292.5 kB / 482.4 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.4661, allocations: 8 kB / 482.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.4703, allocations: 2.311 MB / 484.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4703, allocations: 0 / 484.7 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.4727, allocations: 1.067 MB / 485.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4729, allocations: 144.7 kB / 485.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.4729, allocations: 8 kB / 485.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/0.4734, allocations: 35.97 kB / 486 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.4735, allocations: 40.34 kB / 486 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4735, allocations: 15.98 kB / 486 MB, free: 1.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.4738, allocations: 208.5 kB / 486.2 MB, free: 1.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4738, allocations: 0 / 486.2 MB, free: 1.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006755/0.4745, allocations: 131.9 kB / 486.4 MB, free: 1.457 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 () * Number of clocked 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.0003066/0.4748, allocations: 159.1 kB / 486.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009741/0.4758, allocations: 446.1 kB / 486.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4758, allocations: 0 / 486.9 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.4765, allocations: 393.2 kB / 487.3 MB, free: 464 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.4769, allocations: 28.42 kB / 487.4 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4789, allocations: 1.211 MB / 488.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.4794, allocations: 0.7972 MB / 489.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.4796, allocations: 42.94 kB / 489.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4797, allocations: 31.42 kB / 489.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.274e-06/0.4797, allocations: 0 / 489.4 MB, free: 14.29 MB / 378.7 MB Notification: Performance of Templates: time 0.0108/0.4905, allocations: 5.848 MB / 495.3 MB, free: 8.465 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