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.001179/0.001179, allocations: 201 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007535/0.0007535, allocations: 106.2 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002127, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2058, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1/0.3059, allocations: 89.75 MB / 499.1 MB, free: 1.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.3061, allocations: 87.95 kB / 499.2 MB, free: 1.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02812/0.3342, allocations: 9.605 MB / 0.4969 GB, free: 7.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3343, allocations: 0 / 0.4969 GB, free: 7.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.3343, allocations: 4 kB / 0.4969 GB, free: 7.984 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.001285/0.3356, allocations: 0.6474 MB / 0.4975 GB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3357, allocations: 8.031 kB / 0.4975 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3359, allocations: 52.55 kB / 0.4976 GB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.3364, allocations: 325.2 kB / 0.4979 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.3364, allocations: 54.81 kB / 0.498 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3366, allocations: 36.73 kB / 0.498 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.3372, allocations: 328.5 kB / 0.4983 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3372, allocations: 3.984 kB / 0.4983 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.3373, allocations: 12 kB / 0.4983 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3373, allocations: 11.94 kB / 0.4983 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.338, allocations: 306 kB / 0.4986 GB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.3397, allocations: 1.171 MB / 0.4998 GB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.3404, allocations: 303.4 kB / 0.5001 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.3407, allocations: 165.6 kB / 0.5002 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3407, allocations: 11.98 kB / 0.5002 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.3408, allocations: 38.56 kB / 0.5003 GB, free: 4.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.3408, allocations: 0 / 0.5003 GB, free: 4.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.01071/0.3515, allocations: 2.833 MB / 0.503 GB, free: 1.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.3516, allocations: 81.11 kB / 0.5031 GB, free: 1.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.352, allocations: 288.9 kB / 0.5034 GB, free: 1.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.352, allocations: 33.7 kB / 0.5034 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3521, allocations: 164.5 kB / 0.5036 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3523, allocations: 145.8 kB / 0.5037 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.3523, allocations: 12 kB / 0.5037 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3524, allocations: 342.8 kB / 0.504 GB, free: 336 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.3528, allocations: 168.8 kB / 0.5042 GB, free: 168 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1585/0.5114, allocations: 225.2 kB / 0.5044 GB, free: 95.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5126, allocations: 413.3 kB / 0.5048 GB, free: 95.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5127, allocations: 0.9375 kB / 0.5048 GB, free: 95.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001227/0.5139, allocations: 0.4938 MB / 0.5053 GB, free: 95.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5139, allocations: 7.031 kB / 0.5053 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5139, allocations: 0.5625 kB / 0.5053 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.514, allocations: 3.75 kB / 0.5053 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.5146, allocations: 127.3 kB / 0.5054 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5146, allocations: 2.969 kB / 0.5054 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.5151, allocations: 38.88 kB / 0.5055 GB, free: 95.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.5151, allocations: 16.81 kB / 0.5055 GB, free: 95.25 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.0001828/0.5153, allocations: 149.5 kB / 0.5056 GB, free: 95.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5154, allocations: 32.06 kB / 0.5057 GB, free: 95.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.5178, allocations: 0.7334 MB / 0.5064 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5178, allocations: 6.438 kB / 0.5064 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5178, allocations: 4.453 kB / 0.5064 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5178, allocations: 6.219 kB / 0.5064 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.5209, allocations: 1.307 MB / 0.5077 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.521, allocations: 5.688 kB / 0.5077 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.5214, allocations: 92.69 kB / 0.5078 GB, free: 94.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/0.523, allocations: 296.5 kB / 0.508 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.5231, allocations: 12.44 kB / 0.5081 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.5265, allocations: 2.263 MB / 0.5103 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5265, allocations: 3.938 kB / 0.5103 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.5287, allocations: 1.05 MB / 0.5113 GB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5289, allocations: 152.7 kB / 0.5114 GB, free: 92.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.529, allocations: 6.219 kB / 0.5114 GB, free: 92.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.5294, allocations: 35.28 kB / 0.5115 GB, free: 92.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5295, allocations: 38.92 kB / 0.5115 GB, free: 92.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.5296, allocations: 17.5 kB / 0.5115 GB, free: 92.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001928/0.5298, allocations: 208.9 kB / 0.5117 GB, free: 92.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5298, allocations: 2.625 kB / 0.5117 GB, free: 92.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005696/0.5303, allocations: 125.9 kB / 0.5119 GB, free: 92.57 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.0002698/0.5306, allocations: 166.9 kB / 0.512 GB, free: 92.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.5314, allocations: 439.5 kB / 0.5124 GB, free: 92.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5315, allocations: 192 / 0.5124 GB, free: 92.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.532, allocations: 397.2 kB / 0.5128 GB, free: 92.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.5325, allocations: 47.12 kB / 0.5129 GB, free: 92.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.534, allocations: 1.214 MB / 0.514 GB, free: 91.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5341, allocations: 0.7852 MB / 0.5148 GB, free: 90.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.5344, allocations: 44.8 kB / 0.5149 GB, free: 90.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5345, allocations: 38.59 kB / 0.5149 GB, free: 90.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5345, allocations: 0 / 0.5149 GB, free: 90.7 MB / 378.7 MB Notification: Performance of Templates: time 0.008241/0.5427, allocations: 5.924 MB / 0.5207 GB, free: 90.06 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/jenkins1/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