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.0009179/0.0009179, allocations: 177.9 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007695/0.0007696, allocations: 86.36 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.318e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08891, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4285, allocations: 83.42 MB / 446.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4289, allocations: 88.38 kB / 446.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07654/0.5054, allocations: 38.52 MB / 485.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5055, allocations: 0 / 485.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001383/0.5056, allocations: 36 kB / 485.1 MB, free: 9.168 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002504/0.5081, allocations: 1.925 MB / 487.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.5082, allocations: 8.031 kB / 487.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.5086, allocations: 295.8 kB / 487.4 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/0.5116, allocations: 1.875 MB / 489.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.5117, allocations: 50.48 kB / 489.3 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5118, allocations: 31.98 kB / 489.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004889/0.5123, allocations: 276.7 kB / 489.6 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.5129, allocations: 321.5 kB / 489.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5129, allocations: 0 / 489.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.513, allocations: 0 / 489.9 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.513, allocations: 15.98 kB / 489.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/0.5172, allocations: 3.006 MB / 492.9 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.5176, allocations: 273 kB / 493.2 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.5178, allocations: 139.1 kB / 493.3 MB, free: 2.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.5179, allocations: 11 kB / 493.3 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.5179, allocations: 38.59 kB / 493.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.5179, allocations: 0 / 493.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003136/0.5211, allocations: 2.027 MB / 495.4 MB, free: 272 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5211, allocations: 81.55 kB / 495.5 MB, free: 172 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/0.5293, allocations: 4.692 MB / 0.4885 GB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/0.5294, allocations: 29.7 kB / 0.4885 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.5304, allocations: 1.156 MB / 0.4896 GB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.5306, allocations: 157.6 kB / 0.4898 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5306, allocations: 4 kB / 0.4898 GB, free: 10.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5308, allocations: 330 kB / 0.4901 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.531, allocations: 121.1 kB / 0.4902 GB, free: 10.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.5312, allocations: 187.8 kB / 0.4904 GB, free: 9.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.5315, allocations: 158 kB / 0.4905 GB, free: 9.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5315, allocations: 0 / 0.4905 GB, free: 9.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002423/0.5339, allocations: 0.9541 MB / 0.4915 GB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.534, allocations: 8 kB / 0.4915 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.534, allocations: 0 / 0.4915 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.5345, allocations: 140.8 kB / 0.4916 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.5349, allocations: 103.8 kB / 0.4917 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00079/0.5357, allocations: 0.7592 MB / 0.4924 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006148/0.5363, allocations: 19.89 kB / 0.4925 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.5364, allocations: 19.94 kB / 0.4925 GB, free: 7.797 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.5365, allocations: 120.9 kB / 0.4926 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.5369, allocations: 280.5 kB / 0.4929 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.5383, allocations: 0.7003 MB / 0.4935 GB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.5383, allocations: 4 kB / 0.4935 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5383, allocations: 4 kB / 0.4935 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5383, allocations: 3.984 kB / 0.4936 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.5401, allocations: 1.633 MB / 0.4951 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5402, allocations: 0 / 0.4951 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.5406, allocations: 99.88 kB / 0.4952 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.5408, allocations: 92.7 kB / 0.4953 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.5409, allocations: 12 kB / 0.4953 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005152/0.5414, allocations: 0.646 MB / 0.496 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5414, allocations: 4.031 kB / 0.496 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.5427, allocations: 1.02 MB / 0.497 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.5438, allocations: 0.6693 MB / 0.4976 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.544, allocations: 8 kB / 0.4976 GB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.5445, allocations: 19.98 kB / 0.4977 GB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.5446, allocations: 28.39 kB / 0.4977 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.5446, allocations: 16 kB / 0.4977 GB, free: 2.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004746/0.5494, allocations: 3.649 MB / 0.5013 GB, free: 14.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5494, allocations: 0 / 0.5013 GB, free: 14.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009481/0.5504, allocations: 311.9 kB / 0.5016 GB, free: 14.36 MB / 394.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 () * 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.0008999/0.5513, allocations: 355 kB / 0.5019 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009092/0.5522, allocations: 343.1 kB / 0.5022 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5522, allocations: 0 / 0.5022 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.5526, allocations: 190 kB / 0.5024 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5536, allocations: 175.6 kB / 0.5026 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/0.5609, allocations: 4.811 MB / 0.5073 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.5625, allocations: 1.876 MB / 0.5091 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008201/0.5633, allocations: 367.5 kB / 0.5095 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.5637, allocations: 139.4 kB / 0.5096 GB, free: 6.051 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5637, allocations: 3.938 kB / 0.5096 GB, free: 6.047 MB / 394.7 MB Notification: Performance of Templates: time 0.03335/0.597, allocations: 15.23 MB / 0.5245 GB, free: 6.766 MB / 410.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