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.001146/0.001146, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.0008601, allocations: 103 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.874e-05, allocations: 0 / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 51.48 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4607, allocations: 89.07 MB / 484.2 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.461, allocations: 83.2 kB / 484.3 MB, free: 4.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03427/0.4953, allocations: 9.477 MB / 493.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4954, allocations: 0 / 493.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.4954, allocations: 8 kB / 493.8 MB, free: 12.43 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.001284/0.4967, allocations: 0.589 MB / 494.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.4967, allocations: 12.03 kB / 494.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.497, allocations: 47.52 kB / 494.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.4975, allocations: 312.8 kB / 494.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.197e-05/0.4976, allocations: 45.88 kB / 494.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.4978, allocations: 27.42 kB / 494.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005643/0.4984, allocations: 240 kB / 495.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.499, allocations: 274.3 kB / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.499, allocations: 0 / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.499, allocations: 0 / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4991, allocations: 8 kB / 495.3 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.5012, allocations: 1.112 MB / 496.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.5017, allocations: 250.3 kB / 496.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.502, allocations: 136 kB / 496.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.502, allocations: 7.953 kB / 496.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5021, allocations: 38.19 kB / 496.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.5021, allocations: 0 / 496.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.009248/0.5114, allocations: 1.907 MB / 498.8 MB, free: 8.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.5114, allocations: 85.06 kB / 498.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.5118, allocations: 252.7 kB / 499.1 MB, free: 7.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.5119, allocations: 29.7 kB / 499.1 MB, free: 7.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.512, allocations: 161.6 kB / 499.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5122, allocations: 142.2 kB / 499.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.5122, allocations: 0 / 499.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5124, allocations: 340.7 kB / 499.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.5127, allocations: 132 kB / 499.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.5131, allocations: 188.9 kB / 0.4884 GB, free: 6.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.5134, allocations: 150.2 kB / 0.4885 GB, free: 6.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5134, allocations: 4 kB / 0.4885 GB, free: 6.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00788/0.5213, allocations: 1.426 MB / 0.4899 GB, free: 5.602 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.5214, allocations: 7.984 kB / 0.4899 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5214, allocations: 5.875 kB / 0.4899 GB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007462/0.5289, allocations: 1.038 MB / 0.4909 GB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.5293, allocations: 63.16 kB / 0.491 GB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.5427, allocations: 4.265 MB / 0.4952 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.5434, allocations: 31.91 kB / 0.4952 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.5435, allocations: 19.86 kB / 0.4952 GB, free: 1.242 MB / 362.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.000274/0.5438, allocations: 115.9 kB / 0.4953 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.5439, allocations: 27.72 kB / 0.4953 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.5459, allocations: 0.5634 MB / 0.4959 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.5459, allocations: 4 kB / 0.4959 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5459, allocations: 0 / 0.4959 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.5459, allocations: 7.938 kB / 0.4959 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.5496, allocations: 1.135 MB / 0.497 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5496, allocations: 0 / 0.497 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.5503, allocations: 99.31 kB / 0.4971 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.5521, allocations: 263.3 kB / 0.4974 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.5522, allocations: 11.86 kB / 0.4974 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00415/0.5564, allocations: 2.076 MB / 0.4994 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5564, allocations: 0 / 0.4994 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.5588, allocations: 0.8971 MB / 0.5003 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.5591, allocations: 148.7 kB / 0.5004 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.5592, allocations: 7.984 kB / 0.5004 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.5599, allocations: 19.98 kB / 0.5004 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.56, allocations: 36.38 kB / 0.5005 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.5601, allocations: 20 kB / 0.5005 GB, free: 12.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.5604, allocations: 200.5 kB / 0.5007 GB, free: 12.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5604, allocations: 0 / 0.5007 GB, free: 12.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009978/0.5614, allocations: 120 kB / 0.5008 GB, free: 12.2 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.0003889/0.5618, allocations: 154.3 kB / 0.5009 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.5631, allocations: 0.517 MB / 0.5015 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5631, allocations: 0 / 0.5015 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006504/0.5638, allocations: 331.6 kB / 0.5018 GB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.5643, allocations: 28.31 kB / 0.5018 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.5663, allocations: 0.7 MB / 0.5025 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.5669, allocations: 0.7967 MB / 0.5033 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.5672, allocations: 35.27 kB / 0.5033 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5674, allocations: 35.42 kB / 0.5033 GB, free: 9.547 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.5674, allocations: 0 / 0.5033 GB, free: 9.547 MB / 378.7 MB Notification: Performance of Templates: time 0.01967/0.5871, allocations: 7.381 MB / 0.5105 GB, free: 2.23 MB / 378.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