Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002268/0.002268, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000862/0.000862, allocations: 92.31 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.125e-05, allocations: 8 kB / 350.6 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.501, allocations: 89.73 MB / 491.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.5013, allocations: 86.08 kB / 491.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03007/0.5314, allocations: 9.608 MB / 0.4897 GB, free: 7.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5314, allocations: 1.031 kB / 0.4897 GB, free: 7.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.5315, allocations: 4 kB / 0.4897 GB, free: 7.527 MB / 362.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.001273/0.5327, allocations: 0.5925 MB / 0.4903 GB, free: 6.918 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5328, allocations: 8.031 kB / 0.4903 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.5331, allocations: 47.53 kB / 0.4903 GB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.5337, allocations: 313.1 kB / 0.4906 GB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.5338, allocations: 51.88 kB / 0.4907 GB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.5339, allocations: 43.42 kB / 0.4907 GB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.5344, allocations: 299.7 kB / 0.491 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5345, allocations: 0 / 0.491 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.5345, allocations: 7.25 kB / 0.491 GB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5345, allocations: 9.594 kB / 0.491 GB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.535, allocations: 262.8 kB / 0.4913 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.5369, allocations: 1.168 MB / 0.4924 GB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.5373, allocations: 268.2 kB / 0.4927 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5376, allocations: 143.1 kB / 0.4928 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.5376, allocations: 11.98 kB / 0.4928 GB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.5377, allocations: 35.44 kB / 0.4929 GB, free: 4.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.275e-06/0.5377, allocations: 0 / 0.4929 GB, free: 4.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.008424/0.5461, allocations: 2.153 MB / 0.495 GB, free: 2.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.5462, allocations: 81.11 kB / 0.495 GB, free: 2.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.5465, allocations: 257.1 kB / 0.4953 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.5466, allocations: 33.7 kB / 0.4953 GB, free: 1.766 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.5467, allocations: 168.4 kB / 0.4955 GB, free: 1.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5468, allocations: 141.9 kB / 0.4956 GB, free: 1.457 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.5468, allocations: 8 kB / 0.4956 GB, free: 1.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5469, allocations: 349.1 kB / 0.496 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.5472, allocations: 140.9 kB / 0.4961 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5475, allocations: 197.9 kB / 0.4963 GB, free: 0.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.5478, allocations: 165.5 kB / 0.4964 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5478, allocations: 0 / 0.4964 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006117/0.5539, allocations: 1.47 MB / 0.4979 GB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.554, allocations: 8 kB / 0.4979 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.554, allocations: 0 / 0.4979 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/0.5596, allocations: 1.037 MB / 0.4989 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.56, allocations: 63.91 kB / 0.499 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.5703, allocations: 4.345 MB / 0.5032 GB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.5708, allocations: 40.05 kB / 0.5032 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.5709, allocations: 11.98 kB / 0.5033 GB, free: 9.465 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 () * 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.0001753/0.5711, allocations: 128.9 kB / 0.5034 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5712, allocations: 35.58 kB / 0.5034 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.5728, allocations: 0.5938 MB / 0.504 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5729, allocations: 8 kB / 0.504 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5729, allocations: 4 kB / 0.504 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5729, allocations: 3.984 kB / 0.504 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.5758, allocations: 1.23 MB / 0.5052 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5758, allocations: 0 / 0.5052 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.5762, allocations: 95.88 kB / 0.5053 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/0.5777, allocations: 256.6 kB / 0.5055 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.5777, allocations: 12.56 kB / 0.5056 GB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/0.5809, allocations: 2.136 MB / 0.5076 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.5809, allocations: 5.125 kB / 0.5076 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5827, allocations: 0.9263 MB / 0.5085 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.583, allocations: 144.7 kB / 0.5087 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.583, allocations: 8 kB / 0.5087 GB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.5835, allocations: 39.97 kB / 0.5087 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5836, allocations: 40.28 kB / 0.5088 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.5836, allocations: 15.98 kB / 0.5088 GB, free: 3.547 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.5839, allocations: 209.4 kB / 0.509 GB, free: 3.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5839, allocations: 0 / 0.509 GB, free: 3.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006797/0.5846, allocations: 147.9 kB / 0.5091 GB, free: 3.195 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 () * 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.0003074/0.5849, allocations: 160.7 kB / 0.5093 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.5859, allocations: 0.5538 MB / 0.5098 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5859, allocations: 0 / 0.5098 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.5864, allocations: 345 kB / 0.5101 GB, free: 2.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.5867, allocations: 39.33 kB / 0.5102 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5882, allocations: 0.7233 MB / 0.5109 GB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5885, allocations: 0.8047 MB / 0.5117 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.5887, allocations: 34.97 kB / 0.5117 GB, free: 476 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5888, allocations: 27.42 kB / 0.5117 GB, free: 448 kB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5888, allocations: 4 kB / 0.5117 GB, free: 444 kB / 378.7 MB Notification: Performance of Templates: time 0.01459/0.6034, allocations: 8.165 MB / 0.5197 GB, free: 8.34 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches