Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008714/0.0008715, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007377/0.0007378, allocations: 89.98 kB / 292.6 MB, free: 10.76 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 15.94 kB / 352.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 50.39 MB / 402.8 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.3313, allocations: 89.04 MB / 491.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.3316, allocations: 83.95 kB / 491.9 MB, free: 7.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02886/0.3605, allocations: 9.515 MB / 0.4896 GB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.539e-06/0.3605, allocations: 0 / 0.4896 GB, free: 13.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.3606, allocations: 11.94 kB / 0.4897 GB, free: 13.62 MB / 378.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.001397/0.362, allocations: 0.6357 MB / 0.4903 GB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3621, allocations: 8.031 kB / 0.4903 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3622, allocations: 36.56 kB / 0.4903 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3626, allocations: 329.2 kB / 0.4906 GB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.3627, allocations: 46.83 kB / 0.4907 GB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3629, allocations: 36.73 kB / 0.4907 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.3635, allocations: 336.6 kB / 0.491 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3635, allocations: 3.938 kB / 0.491 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.3636, allocations: 8 kB / 0.491 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3636, allocations: 8 kB / 0.491 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.3643, allocations: 310 kB / 0.4913 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3661, allocations: 1.175 MB / 0.4925 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.3667, allocations: 305 kB / 0.4928 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.3671, allocations: 170.5 kB / 0.4929 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3671, allocations: 16.42 kB / 0.493 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.3671, allocations: 34.56 kB / 0.493 GB, free: 9.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.3671, allocations: 0 / 0.493 GB, free: 9.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.01082/0.378, allocations: 2.819 MB / 0.4957 GB, free: 7.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3781, allocations: 96.83 kB / 0.4958 GB, free: 6.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.3784, allocations: 284.9 kB / 0.4961 GB, free: 6.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3785, allocations: 29.7 kB / 0.4961 GB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3786, allocations: 172.4 kB / 0.4963 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.3787, allocations: 141.9 kB / 0.4964 GB, free: 6.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.3787, allocations: 4 kB / 0.4964 GB, free: 6.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3789, allocations: 350.7 kB / 0.4968 GB, free: 5.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.3793, allocations: 168.8 kB / 0.4969 GB, free: 5.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.3797, allocations: 237.7 kB / 0.4972 GB, free: 5.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008039/0.3805, allocations: 407 kB / 0.4976 GB, free: 5.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3805, allocations: 0 / 0.4976 GB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00102/0.3815, allocations: 0.4885 MB / 0.498 GB, free: 4.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3816, allocations: 8 kB / 0.498 GB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3816, allocations: 3.938 kB / 0.498 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3816, allocations: 4 kB / 0.498 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.3822, allocations: 120 kB / 0.4982 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3822, allocations: 4 kB / 0.4982 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.3826, allocations: 47.91 kB / 0.4982 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.3827, allocations: 16 kB / 0.4982 GB, free: 4.461 MB / 378.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.0001783/0.3829, allocations: 157.6 kB / 0.4984 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.383, allocations: 31.62 kB / 0.4984 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.3852, allocations: 0.7267 MB / 0.4991 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.3852, allocations: 7.938 kB / 0.4991 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3852, allocations: 0 / 0.4991 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3852, allocations: 3.984 kB / 0.4991 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.3884, allocations: 1.314 MB / 0.5004 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3884, allocations: 0 / 0.5004 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004655/0.3889, allocations: 91.89 kB / 0.5005 GB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/0.3905, allocations: 296.4 kB / 0.5008 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.3906, allocations: 15.98 kB / 0.5008 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.169/0.5596, allocations: 2.251 MB / 0.503 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5596, allocations: 1.969 kB / 0.503 GB, free: 98.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.562, allocations: 1.052 MB / 0.504 GB, free: 98.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5622, allocations: 150.3 kB / 0.5042 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/0.5623, allocations: 10.61 kB / 0.5042 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.5627, allocations: 34.25 kB / 0.5042 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5628, allocations: 36.91 kB / 0.5042 GB, free: 98.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.5629, allocations: 17.22 kB / 0.5043 GB, free: 98.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002102/0.5631, allocations: 213.1 kB / 0.5045 GB, free: 98.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5631, allocations: 0 / 0.5045 GB, free: 98.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.5637, allocations: 123.4 kB / 0.5046 GB, free: 98.46 MB / 378.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.0002795/0.564, allocations: 160.5 kB / 0.5047 GB, free: 98.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.5649, allocations: 440.9 kB / 0.5052 GB, free: 98.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5649, allocations: 0 / 0.5052 GB, free: 98.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.5656, allocations: 390.8 kB / 0.5055 GB, free: 98.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.5661, allocations: 48.38 kB / 0.5056 GB, free: 98.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.5679, allocations: 1.219 MB / 0.5068 GB, free: 97.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5682, allocations: 0.7928 MB / 0.5075 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002566/0.5685, allocations: 41.02 kB / 0.5076 GB, free: 97.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.5687, allocations: 31.91 kB / 0.5076 GB, free: 97.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5687, allocations: 0 / 0.5076 GB, free: 97.03 MB / 378.7 MB Notification: Performance of Templates: time 0.009002/0.5777, allocations: 5.938 MB / 0.5134 GB, free: 96.73 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches