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.0009716/0.0009716, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.365/1.365, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.00083/0.00083, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.691e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.0959, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4273, allocations: 83.84 MB / 453.9 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4276, allocations: 82.77 kB / 454 MB, free: 9.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07805/0.5056, allocations: 39.24 MB / 493.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5057, allocations: 3.984 kB / 493.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.5059, allocations: 40.17 kB / 493.2 MB, free: 3.363 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.002912/0.5088, allocations: 1.916 MB / 495.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.5088, allocations: 12.03 kB / 495.2 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.5093, allocations: 292.3 kB / 495.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.5123, allocations: 1.884 MB / 497.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.5124, allocations: 62.47 kB / 497.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.5126, allocations: 44 kB / 497.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.5133, allocations: 371.8 kB / 497.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5133, allocations: 3.984 kB / 497.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.5133, allocations: 16 kB / 497.8 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.5133, allocations: 8 kB / 497.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.5138, allocations: 299 kB / 498.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.5182, allocations: 3.097 MB / 0.4895 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.5187, allocations: 297.3 kB / 0.4898 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.519, allocations: 158.4 kB / 0.4899 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.519, allocations: 8.531 kB / 0.4899 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.5191, allocations: 38.56 kB / 0.4899 GB, free: 10.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.5191, allocations: 0 / 0.4899 GB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004238/0.5233, allocations: 2.225 MB / 0.4921 GB, free: 8.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.5234, allocations: 81.55 kB / 0.4922 GB, free: 8.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009039/0.5324, allocations: 4.855 MB / 0.4969 GB, free: 3.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.5325, allocations: 33.64 kB / 0.497 GB, free: 3.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.5336, allocations: 1.183 MB / 0.4981 GB, free: 2.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.5338, allocations: 169.5 kB / 0.4983 GB, free: 1.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.5338, allocations: 8 kB / 0.4983 GB, free: 1.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5339, allocations: 334 kB / 0.4986 GB, free: 1.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.5342, allocations: 137 kB / 0.4987 GB, free: 1.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.5344, allocations: 204.9 kB / 0.4989 GB, free: 1.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.5347, allocations: 161.6 kB / 0.4991 GB, free: 1.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5347, allocations: 4 kB / 0.4991 GB, free: 1.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002372/0.5371, allocations: 0.9971 MB / 0.5001 GB, free: 92 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5371, allocations: 8.094 kB / 0.5001 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.5372, allocations: 4 kB / 0.5001 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005058/0.5377, allocations: 157.4 kB / 0.5002 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.5381, allocations: 99.81 kB / 0.5003 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007306/0.5388, allocations: 0.7436 MB / 0.5011 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.5394, allocations: 23.91 kB / 0.5011 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5394, allocations: 19.98 kB / 0.5011 GB, free: 15.01 MB / 394.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 () * 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.0001206/0.5395, allocations: 136.9 kB / 0.5012 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003548/0.5399, allocations: 284.5 kB / 0.5015 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.5412, allocations: 0.7472 MB / 0.5022 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5412, allocations: 7.953 kB / 0.5022 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5412, allocations: 0 / 0.5022 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5412, allocations: 3.984 kB / 0.5022 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.543, allocations: 1.703 MB / 0.5039 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5431, allocations: 0 / 0.5039 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.5435, allocations: 95.88 kB / 0.504 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.5437, allocations: 96.78 kB / 0.5041 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.5438, allocations: 12 kB / 0.5041 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/0.5443, allocations: 0.6305 MB / 0.5047 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5444, allocations: 7.922 kB / 0.5047 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.5458, allocations: 1.055 MB / 0.5058 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.547, allocations: 0.6732 MB / 0.5064 GB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.5472, allocations: 16 kB / 0.5064 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.5477, allocations: 27.98 kB / 0.5065 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.5478, allocations: 36.34 kB / 0.5065 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.5478, allocations: 16 kB / 0.5065 GB, free: 9.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00502/0.5529, allocations: 3.804 MB / 0.5102 GB, free: 5.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5529, allocations: 0 / 0.5102 GB, free: 5.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001064/0.554, allocations: 323.9 kB / 0.5105 GB, free: 5.211 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.0009222/0.5549, allocations: 391.9 kB / 0.5109 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.5558, allocations: 368.9 kB / 0.5113 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5558, allocations: 0 / 0.5113 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.5561, allocations: 194.9 kB / 0.5114 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.5571, allocations: 187.3 kB / 0.5116 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007867/0.5649, allocations: 4.849 MB / 0.5164 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.5666, allocations: 1.864 MB / 0.5182 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009586/0.5675, allocations: 371.6 kB / 0.5185 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/0.5679, allocations: 135.4 kB / 0.5187 GB, free: 12.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.385e-06/0.5679, allocations: 0 / 0.5187 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Templates: time 0.237/0.805, allocations: 20.52 MB / 0.5387 GB, free: 116 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