Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 180 kB / 17.01 MB, free: 5.125 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.625/1.625, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0009349/0.0009348, allocations: 102.4 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 11.98 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3054, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4191, allocations: 83.94 MB / 459.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4195, allocations: 91.95 kB / 459.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07719/0.4967, allocations: 39.26 MB / 499.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4967, allocations: 0 / 499.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001396/0.4969, allocations: 40.11 kB / 499.1 MB, free: 5.035 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.003975/0.5009, allocations: 2.577 MB / 0.49 GB, free: 2.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5009, allocations: 8.031 kB / 0.49 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.5013, allocations: 288.3 kB / 0.4902 GB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003301/0.5046, allocations: 1.904 MB / 0.4921 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.5047, allocations: 54.7 kB / 0.4922 GB, free: 84 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.5049, allocations: 51.92 kB / 0.4922 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2268/0.7317, allocations: 384.9 kB / 0.4926 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.7318, allocations: 1.016 kB / 0.4926 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.7319, allocations: 17.03 kB / 0.4926 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.7319, allocations: 9.906 kB / 0.4926 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.7328, allocations: 327 kB / 0.4929 GB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/0.7389, allocations: 3.098 MB / 0.4959 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.7396, allocations: 322 kB / 0.4962 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.7396, allocations: 11.12 kB / 0.4963 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.7397, allocations: 37.62 kB / 0.4963 GB, free: 100.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.7397, allocations: 0 / 0.4963 GB, free: 100.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.005574/0.7453, allocations: 2.551 MB / 0.4988 GB, free: 99.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.7453, allocations: 85.8 kB / 0.4989 GB, free: 99.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008499/0.7538, allocations: 4.894 MB / 0.5036 GB, free: 98.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.7539, allocations: 32.05 kB / 0.5037 GB, free: 98.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008866/0.7548, allocations: 1.187 MB / 0.5048 GB, free: 97.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.7549, allocations: 164.5 kB / 0.505 GB, free: 97.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.7549, allocations: 8 kB / 0.505 GB, free: 97.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.755, allocations: 333.4 kB / 0.5053 GB, free: 97.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.7553, allocations: 137.8 kB / 0.5054 GB, free: 97.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.7556, allocations: 211 kB / 0.5056 GB, free: 97.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.7559, allocations: 166.5 kB / 0.5058 GB, free: 96.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7559, allocations: 3.812 kB / 0.5058 GB, free: 96.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001045/0.757, allocations: 0.6742 MB / 0.5065 GB, free: 96.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.757, allocations: 9.844 kB / 0.5065 GB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.757, allocations: 3.938 kB / 0.5065 GB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.757, allocations: 3.906 kB / 0.5065 GB, free: 96.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.7575, allocations: 124.1 kB / 0.5066 GB, free: 96.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7575, allocations: 3.844 kB / 0.5066 GB, free: 96.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.758, allocations: 27.03 kB / 0.5066 GB, free: 96.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.758, allocations: 19.22 kB / 0.5067 GB, free: 96.64 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.0009479/0.759, allocations: 0.9196 MB / 0.5075 GB, free: 96.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.7593, allocations: 281.7 kB / 0.5078 GB, free: 96.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.7605, allocations: 0.7804 MB / 0.5086 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.7606, allocations: 6.125 kB / 0.5086 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7606, allocations: 0 / 0.5086 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.7606, allocations: 7.312 kB / 0.5086 GB, free: 95.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.7622, allocations: 1.702 MB / 0.5103 GB, free: 95.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7622, allocations: 2.562 kB / 0.5103 GB, free: 95.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.7627, allocations: 104.2 kB / 0.5104 GB, free: 95.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002922/0.763, allocations: 88.67 kB / 0.5104 GB, free: 95.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.763, allocations: 18.88 kB / 0.5105 GB, free: 95.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004456/0.7635, allocations: 0.6338 MB / 0.5111 GB, free: 94.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7635, allocations: 3.703 kB / 0.5111 GB, free: 94.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.7649, allocations: 1.095 MB / 0.5122 GB, free: 93.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.7662, allocations: 0.6705 MB / 0.5128 GB, free: 93.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.7664, allocations: 21.8 kB / 0.5128 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.7669, allocations: 27.86 kB / 0.5129 GB, free: 93.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.767, allocations: 28.33 kB / 0.5129 GB, free: 93.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.767, allocations: 18.23 kB / 0.5129 GB, free: 93.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004052/0.7711, allocations: 3.842 MB / 0.5166 GB, free: 92.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7711, allocations: 3.875 kB / 0.5167 GB, free: 92.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.7719, allocations: 329.2 kB / 0.517 GB, free: 92.23 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.0009988/0.7729, allocations: 438.3 kB / 0.5174 GB, free: 91.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007059/0.7736, allocations: 375.9 kB / 0.5177 GB, free: 91.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7736, allocations: 0 / 0.5177 GB, free: 91.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.774, allocations: 220.5 kB / 0.518 GB, free: 91.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.7749, allocations: 180.1 kB / 0.5181 GB, free: 91.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/0.7813, allocations: 6.252 MB / 0.5242 GB, free: 87.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.7825, allocations: 1.857 MB / 0.526 GB, free: 86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.7831, allocations: 391.4 kB / 0.5264 GB, free: 85.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.7834, allocations: 131.4 kB / 0.5265 GB, free: 85.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7834, allocations: 0 / 0.5265 GB, free: 85.55 MB / 378.7 MB Notification: Performance of Templates: time 0.0343/0.8178, allocations: 20.08 MB / 0.5461 GB, free: 66.68 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches