Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008544, allocations: 92.09 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 4 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3136, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4314, allocations: 90.08 MB / 465.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4318, allocations: 87.95 kB / 466 MB, free: 6.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04493/0.4768, allocations: 15.54 MB / 481.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4768, allocations: 0 / 481.5 MB, free: 6.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.438e-05/0.4769, allocations: 12 kB / 481.5 MB, free: 6.855 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002145/0.479, allocations: 0.9629 MB / 482.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4791, allocations: 12.03 kB / 482.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.4792, allocations: 79.06 kB / 482.6 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.4801, allocations: 0.4979 MB / 483.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/0.4802, allocations: 71.02 kB / 483.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.4804, allocations: 71.98 kB / 483.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.4816, allocations: 0.5941 MB / 483.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4816, allocations: 0 / 483.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.4817, allocations: 32 kB / 483.8 MB, free: 4.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.4817, allocations: 12 kB / 483.9 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.4828, allocations: 0.5243 MB / 484.4 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.4866, allocations: 2.339 MB / 486.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.4877, allocations: 486.4 kB / 487.2 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.4877, allocations: 11.94 kB / 487.2 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4878, allocations: 34.56 kB / 487.2 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/0.4878, allocations: 4 kB / 487.2 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.01406/0.5018, allocations: 3.694 MB / 490.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.502, allocations: 93.62 kB / 491 MB, free: 12.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007864/0.5028, allocations: 481.2 kB / 491.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.5028, allocations: 37.7 kB / 491.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5031, allocations: 312.3 kB / 491.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5033, allocations: 208.9 kB / 492 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5033, allocations: 16 kB / 492.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5035, allocations: 362.8 kB / 492.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.504, allocations: 257.2 kB / 492.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.5046, allocations: 347.5 kB / 493 MB, free: 10.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.5052, allocations: 290.1 kB / 493.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5052, allocations: 4 kB / 493.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001502/0.5067, allocations: 0.7491 MB / 494 MB, free: 9.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5068, allocations: 4 kB / 494.1 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5068, allocations: 4 kB / 494.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.507, allocations: 40.91 kB / 494.1 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.5078, allocations: 167.8 kB / 494.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.5089, allocations: 1.335 MB / 495.6 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006774/0.5096, allocations: 44.05 kB / 495.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.5097, allocations: 23.98 kB / 495.7 MB, free: 8.156 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.0003806/0.51, allocations: 201.7 kB / 495.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5102, allocations: 63.23 kB / 495.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.512, allocations: 0.8686 MB / 496.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.512, allocations: 4 kB / 496.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.512, allocations: 4 kB / 496.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5121, allocations: 3.984 kB / 496.8 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.516, allocations: 1.882 MB / 498.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.516, allocations: 0 / 498.7 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/0.5166, allocations: 111.9 kB / 498.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00257/0.5191, allocations: 0.5073 MB / 499.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.5192, allocations: 23.98 kB / 499.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.5242, allocations: 3.018 MB / 0.4906 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5242, allocations: 0 / 0.4906 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2278/0.7521, allocations: 1.414 MB / 0.4919 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.7527, allocations: 207.1 kB / 0.4921 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7529, allocations: 13.95 kB / 0.4922 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.7536, allocations: 49.09 kB / 0.4922 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.7538, allocations: 53.02 kB / 0.4923 GB, free: 106.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/0.7539, allocations: 21.34 kB / 0.4923 GB, free: 106.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006697/0.7546, allocations: 392.5 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7546, allocations: 0.5938 kB / 0.4926 GB, free: 106 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001435/0.756, allocations: 198.5 kB / 0.4928 GB, free: 106 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.0003964/0.7564, allocations: 153.5 kB / 0.493 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.7584, allocations: 0.7479 MB / 0.4937 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7584, allocations: 2.719 kB / 0.4937 GB, free: 105.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009916/0.7594, allocations: 0.5316 MB / 0.4942 GB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.7601, allocations: 78.06 kB / 0.4943 GB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.7633, allocations: 1.823 MB / 0.4961 GB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.7637, allocations: 0.915 MB / 0.497 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004641/0.7641, allocations: 72.55 kB / 0.4971 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.7644, allocations: 50.98 kB / 0.4971 GB, free: 104.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7644, allocations: 0 / 0.4971 GB, free: 104.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01651/0.7809, allocations: 9.431 MB / 0.5063 GB, free: 103.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches