Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009809/0.000981, allocations: 181 kB / 16.38 MB, free: 5.762 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.239/1.239, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008884/0.0008884, allocations: 100.6 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002754, allocations: 15.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2227, allocations: 50.39 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09788/0.3206, allocations: 86.55 MB / 488 MB, free: 9.938 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3209, allocations: 91.95 kB / 488.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.233/0.5539, allocations: 39.74 MB / 0.5155 GB, free: 97.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5539, allocations: 0 / 0.5155 GB, free: 97.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002377/0.5542, allocations: 33.06 kB / 0.5155 GB, free: 97.76 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004263/0.5584, allocations: 2.593 MB / 0.5181 GB, free: 95.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5585, allocations: 8.031 kB / 0.5181 GB, free: 95.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.559, allocations: 292.4 kB / 0.5184 GB, free: 95.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.5625, allocations: 1.901 MB / 0.5202 GB, free: 93.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.5626, allocations: 58.7 kB / 0.5203 GB, free: 93.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5627, allocations: 47.98 kB / 0.5203 GB, free: 93.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.5634, allocations: 391 kB / 0.5207 GB, free: 92.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5634, allocations: 3.938 kB / 0.5207 GB, free: 92.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.5635, allocations: 16 kB / 0.5207 GB, free: 92.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5635, allocations: 12 kB / 0.5207 GB, free: 92.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.5641, allocations: 319.8 kB / 0.521 GB, free: 92.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.5688, allocations: 3.12 MB / 0.5241 GB, free: 89.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.5694, allocations: 313 kB / 0.5244 GB, free: 88.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.5695, allocations: 8 kB / 0.5244 GB, free: 88.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.5695, allocations: 39.41 kB / 0.5244 GB, free: 88.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.595e-06/0.5695, allocations: 3.984 kB / 0.5244 GB, free: 88.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.005058/0.5745, allocations: 2.565 MB / 0.5269 GB, free: 86.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.5746, allocations: 89.5 kB / 0.527 GB, free: 86.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/0.5857, allocations: 4.88 MB / 0.5318 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5858, allocations: 33.7 kB / 0.5318 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.5871, allocations: 1.191 MB / 0.533 GB, free: 79.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.5873, allocations: 165.4 kB / 0.5331 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.5873, allocations: 15.94 kB / 0.5331 GB, free: 79.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.5874, allocations: 329.9 kB / 0.5335 GB, free: 79.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.5878, allocations: 141 kB / 0.5336 GB, free: 79.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.5881, allocations: 212.8 kB / 0.5338 GB, free: 79.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.5885, allocations: 164.8 kB / 0.5339 GB, free: 78.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5885, allocations: 0 / 0.5339 GB, free: 78.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001463/0.59, allocations: 0.684 MB / 0.5346 GB, free: 78.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.59, allocations: 6.812 kB / 0.5346 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.59, allocations: 4 kB / 0.5346 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.59, allocations: 7.984 kB / 0.5346 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.5905, allocations: 119.8 kB / 0.5347 GB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.5906, allocations: 4.219 kB / 0.5348 GB, free: 78.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/0.5914, allocations: 27.95 kB / 0.5348 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.5915, allocations: 19.98 kB / 0.5348 GB, free: 78.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (61): * Single equations (assignments): 61 * 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.001273/0.5927, allocations: 0.9153 MB / 0.5357 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006248/0.5934, allocations: 288.4 kB / 0.536 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.5951, allocations: 0.8013 MB / 0.5367 GB, free: 76.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5951, allocations: 4 kB / 0.5368 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.5951, allocations: 0 / 0.5368 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5951, allocations: 3.984 kB / 0.5368 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.598, allocations: 1.702 MB / 0.5384 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.598, allocations: 0 / 0.5384 GB, free: 74.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.5985, allocations: 99.88 kB / 0.5385 GB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.5988, allocations: 88.73 kB / 0.5386 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.5989, allocations: 15.98 kB / 0.5386 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/0.5994, allocations: 0.6421 MB / 0.5392 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5994, allocations: 0 / 0.5392 GB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.6014, allocations: 1.122 MB / 0.5403 GB, free: 72.26 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.6029, allocations: 0.6694 MB / 0.541 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.6034, allocations: 19.98 kB / 0.541 GB, free: 71.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/0.604, allocations: 24 kB / 0.541 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.6041, allocations: 32.39 kB / 0.5411 GB, free: 71.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.6041, allocations: 15.98 kB / 0.5411 GB, free: 71.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005497/0.6096, allocations: 3.848 MB / 0.5448 GB, free: 67.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6096, allocations: 0 / 0.5448 GB, free: 67.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.6108, allocations: 328 kB / 0.5452 GB, free: 67.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.6118, allocations: 440.4 kB / 0.5456 GB, free: 67.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007915/0.6127, allocations: 372.9 kB / 0.5459 GB, free: 66.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6127, allocations: 4.438 kB / 0.5459 GB, free: 66.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.6131, allocations: 214.4 kB / 0.5461 GB, free: 66.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6142, allocations: 187.3 kB / 0.5463 GB, free: 66.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/0.6227, allocations: 6.243 MB / 0.5524 GB, free: 60 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.6244, allocations: 1.857 MB / 0.5542 GB, free: 58.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009333/0.6254, allocations: 395.5 kB / 0.5546 GB, free: 57.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/0.6259, allocations: 131.4 kB / 0.5547 GB, free: 57.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6259, allocations: 0 / 0.5547 GB, free: 57.59 MB / 378.7 MB Notification: Performance of Templates: time 0.03667/0.6626, allocations: 20.06 MB / 0.5743 GB, free: 37.55 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches