Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 196.6 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008864/0.0008864, allocations: 100.4 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 4 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3097, allocations: 93.86 MB / 0.4914 GB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.31, allocations: 91.94 kB / 0.4915 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2047/0.5147, allocations: 15.98 MB / 0.5071 GB, free: 93.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5148, allocations: 3.562 kB / 0.5071 GB, free: 93.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.357e-05/0.5148, allocations: 12.75 kB / 0.5072 GB, free: 93.21 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002254/0.5171, allocations: 0.9641 MB / 0.5081 GB, free: 92.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5171, allocations: 9.312 kB / 0.5081 GB, free: 92.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.5175, allocations: 90.33 kB / 0.5082 GB, free: 92.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008877/0.5184, allocations: 0.5035 MB / 0.5087 GB, free: 92.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.5185, allocations: 74.2 kB / 0.5088 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.5187, allocations: 61.34 kB / 0.5088 GB, free: 92.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.52, allocations: 0.6151 MB / 0.5094 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.52, allocations: 2.219 kB / 0.5094 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.5201, allocations: 22.41 kB / 0.5094 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.5201, allocations: 15.84 kB / 0.5094 GB, free: 92.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.5214, allocations: 0.5271 MB / 0.51 GB, free: 92.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.5249, allocations: 2.33 MB / 0.5122 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.5258, allocations: 497.5 kB / 0.5127 GB, free: 91.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.5263, allocations: 268.2 kB / 0.513 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.5263, allocations: 8.562 kB / 0.513 GB, free: 91.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.5263, allocations: 38.27 kB / 0.513 GB, free: 91.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.5263, allocations: 1.969 kB / 0.513 GB, free: 91.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01121/0.5376, allocations: 3.698 MB / 0.5166 GB, free: 89.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.5376, allocations: 92.83 kB / 0.5167 GB, free: 89.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.5382, allocations: 0.5397 MB / 0.5172 GB, free: 89.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.5382, allocations: 37.08 kB / 0.5173 GB, free: 89.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.5383, allocations: 302 kB / 0.5176 GB, free: 88.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.5385, allocations: 215 kB / 0.5178 GB, free: 88.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.5385, allocations: 13.03 kB / 0.5178 GB, free: 88.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.5386, allocations: 366.8 kB / 0.5181 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.5391, allocations: 252.9 kB / 0.5184 GB, free: 88.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.5396, allocations: 354.1 kB / 0.5187 GB, free: 88.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.5406, allocations: 0.6062 MB / 0.5193 GB, free: 87.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5406, allocations: 0 / 0.5193 GB, free: 87.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001281/0.5419, allocations: 0.7479 MB / 0.52 GB, free: 87.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5419, allocations: 7.25 kB / 0.52 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5419, allocations: 3.938 kB / 0.52 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.542, allocations: 35.67 kB / 0.5201 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/0.5428, allocations: 173 kB / 0.5202 GB, free: 87.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/0.5435, allocations: 1.328 MB / 0.5215 GB, free: 86.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.544, allocations: 46.42 kB / 0.5216 GB, free: 86.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.544, allocations: 22.41 kB / 0.5216 GB, free: 86.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.5443, allocations: 205.2 kB / 0.5218 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5444, allocations: 58.88 kB / 0.5219 GB, free: 85.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.5459, allocations: 0.8606 MB / 0.5227 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.546, allocations: 13.88 kB / 0.5227 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.546, allocations: 0 / 0.5227 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.546, allocations: 3.844 kB / 0.5227 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.5492, allocations: 1.933 MB / 0.5246 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5492, allocations: 3.938 kB / 0.5246 GB, free: 84.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.5497, allocations: 113.8 kB / 0.5247 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.5519, allocations: 0.4969 MB / 0.5252 GB, free: 84.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.552, allocations: 11.91 kB / 0.5252 GB, free: 84.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/0.556, allocations: 2.949 MB / 0.5281 GB, free: 81.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.556, allocations: 4.031 kB / 0.5281 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.5585, allocations: 1.404 MB / 0.5295 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.5588, allocations: 202.9 kB / 0.5297 GB, free: 80.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/0.5589, allocations: 16 kB / 0.5297 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.5594, allocations: 53.84 kB / 0.5297 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.5596, allocations: 52.5 kB / 0.5298 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.5596, allocations: 16 kB / 0.5298 GB, free: 80.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003539/0.56, allocations: 390.1 kB / 0.5302 GB, free: 79.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.56, allocations: 0 / 0.5302 GB, free: 79.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006434/0.5606, allocations: 194.9 kB / 0.5304 GB, free: 79.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/0.5609, allocations: 174.8 kB / 0.5305 GB, free: 79.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.5622, allocations: 0.7439 MB / 0.5312 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5622, allocations: 0 / 0.5312 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.5629, allocations: 0.5334 MB / 0.5318 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.5636, allocations: 96.05 kB / 0.5319 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.566, allocations: 1.824 MB / 0.5336 GB, free: 76.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.5663, allocations: 0.9044 MB / 0.5345 GB, free: 75.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.5666, allocations: 73.3 kB / 0.5346 GB, free: 75.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5668, allocations: 49.48 kB / 0.5346 GB, free: 75.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5668, allocations: 0 / 0.5346 GB, free: 75.73 MB / 378.7 MB Notification: Performance of Templates: time 0.01377/0.5806, allocations: 9.553 MB / 0.544 GB, free: 66.86 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches