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.001359/0.001359, allocations: 179 kB / 18.04 MB, free: 3.664 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.279/1.279, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.0007378/0.0007378, allocations: 89.73 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003991, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1944, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08754/0.282, allocations: 84.01 MB / 461 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.2823, allocations: 87.95 kB / 461.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07777/0.36, allocations: 39.27 MB / 0.4887 GB, free: 4.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3601, allocations: 0 / 0.4887 GB, free: 4.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003158/0.3604, allocations: 40 kB / 0.4887 GB, free: 4.844 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.004831/0.3653, allocations: 2.554 MB / 0.4912 GB, free: 2.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3653, allocations: 8.031 kB / 0.4912 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.3658, allocations: 285.4 kB / 0.4915 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1415/0.5073, allocations: 2.035 MB / 0.4935 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.5074, allocations: 57.06 kB / 0.4935 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.5077, allocations: 47.5 kB / 0.4936 GB, free: 100.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008622/0.5085, allocations: 401.9 kB / 0.494 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5086, allocations: 0.5 kB / 0.494 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.5086, allocations: 16.47 kB / 0.494 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.5086, allocations: 8.812 kB / 0.494 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.5094, allocations: 328.3 kB / 0.4943 GB, free: 100.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.5138, allocations: 3.099 MB / 0.4973 GB, free: 100.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.5144, allocations: 316.9 kB / 0.4976 GB, free: 100.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.5147, allocations: 169.8 kB / 0.4978 GB, free: 100.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.5147, allocations: 7.281 kB / 0.4978 GB, free: 100.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5148, allocations: 40.59 kB / 0.4978 GB, free: 100 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.525e-06/0.5148, allocations: 0 / 0.4978 GB, free: 100 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004739/0.5195, allocations: 2.55 MB / 0.5003 GB, free: 99.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.5196, allocations: 84.64 kB / 0.5004 GB, free: 98.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007913/0.5275, allocations: 5.271 MB / 0.5055 GB, free: 97.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.5275, allocations: 37.52 kB / 0.5056 GB, free: 97.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007489/0.5283, allocations: 1.187 MB / 0.5067 GB, free: 96.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.5284, allocations: 165.5 kB / 0.5069 GB, free: 96.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.5284, allocations: 13.25 kB / 0.5069 GB, free: 96.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/0.5285, allocations: 325.2 kB / 0.5072 GB, free: 96.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.5288, allocations: 139.4 kB / 0.5074 GB, free: 96.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.5291, allocations: 215 kB / 0.5076 GB, free: 96.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.5297, allocations: 375.5 kB / 0.5079 GB, free: 95.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5297, allocations: 0 / 0.5079 GB, free: 95.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009447/0.5307, allocations: 0.6883 MB / 0.5086 GB, free: 95.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5307, allocations: 3.594 kB / 0.5086 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5307, allocations: 2.156 kB / 0.5086 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.5308, allocations: 3.5 kB / 0.5086 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.5313, allocations: 124.6 kB / 0.5087 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5313, allocations: 9.625 kB / 0.5087 GB, free: 95.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.5318, allocations: 25.66 kB / 0.5087 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.5318, allocations: 17.47 kB / 0.5088 GB, free: 95.61 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.0007802/0.5326, allocations: 0.921 MB / 0.5097 GB, free: 95.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.5329, allocations: 283.1 kB / 0.5099 GB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.5341, allocations: 0.779 MB / 0.5107 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5341, allocations: 7.25 kB / 0.5107 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5341, allocations: 0 / 0.5107 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.5341, allocations: 6.797 kB / 0.5107 GB, free: 94.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.5355, allocations: 1.692 MB / 0.5124 GB, free: 94.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5355, allocations: 3.25 kB / 0.5124 GB, free: 94.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.536, allocations: 106.8 kB / 0.5125 GB, free: 94.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.5363, allocations: 87.72 kB / 0.5125 GB, free: 94.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.5363, allocations: 18.27 kB / 0.5126 GB, free: 94.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004126/0.5367, allocations: 0.6425 MB / 0.5132 GB, free: 93.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5367, allocations: 3.312 kB / 0.5132 GB, free: 93.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5383, allocations: 1.07 MB / 0.5142 GB, free: 92.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.5393, allocations: 0.667 MB / 0.5149 GB, free: 92.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.5396, allocations: 17.19 kB / 0.5149 GB, free: 92.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/0.5402, allocations: 29.77 kB / 0.5149 GB, free: 92.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.5403, allocations: 35.39 kB / 0.515 GB, free: 92.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.5403, allocations: 17.42 kB / 0.515 GB, free: 92.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004597/0.5449, allocations: 3.848 MB / 0.5187 GB, free: 91.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5449, allocations: 0 / 0.5187 GB, free: 91.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008827/0.5458, allocations: 327.4 kB / 0.5191 GB, free: 91.24 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.0008396/0.5467, allocations: 439 kB / 0.5195 GB, free: 90.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.5474, allocations: 374.3 kB / 0.5198 GB, free: 90.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5474, allocations: 2.719 kB / 0.5198 GB, free: 90.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.5478, allocations: 209.6 kB / 0.52 GB, free: 90.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.549, allocations: 199.9 kB / 0.5202 GB, free: 90.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.5554, allocations: 6.247 MB / 0.5263 GB, free: 86.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/0.5566, allocations: 1.812 MB / 0.5281 GB, free: 84.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006359/0.5573, allocations: 387.9 kB / 0.5285 GB, free: 84.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.5576, allocations: 134.9 kB / 0.5286 GB, free: 84.26 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5576, allocations: 0 / 0.5286 GB, free: 84.26 MB / 378.7 MB Notification: Performance of Templates: time 0.0327/0.5903, allocations: 20.09 MB / 0.5482 GB, free: 65.27 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/jenkins1/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