Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001528/0.001528, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 92.27 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.964e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3431, allocations: 47.57 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4764, allocations: 83.18 MB / 445.5 MB, free: 3.117 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.4768, allocations: 85.08 kB / 445.6 MB, free: 3.035 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1627/0.6395, allocations: 38.51 MB / 484.1 MB, free: 12.3 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6395, allocations: 4 kB / 484.1 MB, free: 12.3 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002513/0.6398, allocations: 36 kB / 484.2 MB, free: 12.26 MB / 379.1 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.00472/0.6445, allocations: 1.928 MB / 486.1 MB, free: 10.28 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.6446, allocations: 12.03 kB / 486.1 MB, free: 10.27 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.6455, allocations: 288.3 kB / 486.4 MB, free: 9.984 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/0.6513, allocations: 1.88 MB / 488.3 MB, free: 8.051 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.85e-05/0.6515, allocations: 46.42 kB / 488.3 MB, free: 7.996 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.6517, allocations: 33.95 kB / 488.3 MB, free: 7.965 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008591/0.6526, allocations: 273.5 kB / 488.6 MB, free: 7.699 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008213/0.6534, allocations: 322.2 kB / 488.9 MB, free: 7.367 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.6535, allocations: 0 / 488.9 MB, free: 7.367 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.6535, allocations: 4 kB / 488.9 MB, free: 7.363 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.6536, allocations: 8 kB / 488.9 MB, free: 7.355 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007867/0.6614, allocations: 3.009 MB / 491.9 MB, free: 4.262 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.6623, allocations: 281.1 kB / 492.2 MB, free: 3.969 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.6627, allocations: 133.7 kB / 492.4 MB, free: 3.832 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.6627, allocations: 8 kB / 492.4 MB, free: 3.824 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.6628, allocations: 39.16 kB / 492.4 MB, free: 3.777 MB / 379.1 MB Notification: Performance of pre-optimization done (n=37): time 3.456e-06/0.6628, allocations: 0 / 492.4 MB, free: 3.777 MB / 379.1 MB Notification: Performance of matching and sorting (n=48): time 0.006186/0.669, allocations: 2.025 MB / 494.4 MB, free: 1.676 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.6691, allocations: 81.55 kB / 494.5 MB, free: 1.578 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/0.685, allocations: 4.698 MB / 499.2 MB, free: 12.88 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.6852, allocations: 29.73 kB / 499.2 MB, free: 12.84 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.6867, allocations: 0.8972 MB / 0.4884 GB, free: 11.94 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.6869, allocations: 161.6 kB / 0.4886 GB, free: 11.78 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.687, allocations: 0 / 0.4886 GB, free: 11.78 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6871, allocations: 326.8 kB / 0.4889 GB, free: 11.45 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.6875, allocations: 126.1 kB / 0.489 GB, free: 11.33 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.6879, allocations: 195.7 kB / 0.4892 GB, free: 11.11 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.6884, allocations: 150.1 kB / 0.4893 GB, free: 10.96 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6885, allocations: 0 / 0.4893 GB, free: 10.96 MB / 395.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00337/0.6918, allocations: 0.7113 MB / 0.49 GB, free: 10.25 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.6919, allocations: 8 kB / 0.49 GB, free: 10.24 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6919, allocations: 3.672 kB / 0.49 GB, free: 10.24 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000722/0.6927, allocations: 144.8 kB / 0.4902 GB, free: 10.09 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.6935, allocations: 107.8 kB / 0.4903 GB, free: 9.988 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.6948, allocations: 0.7437 MB / 0.491 GB, free: 9.219 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.696, allocations: 23.95 kB / 0.491 GB, free: 9.195 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.6961, allocations: 22 kB / 0.491 GB, free: 9.176 MB / 395.1 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.0002765/0.6964, allocations: 117 kB / 0.4912 GB, free: 9.059 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000777/0.6971, allocations: 284.4 kB / 0.4914 GB, free: 8.777 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.6995, allocations: 0.7082 MB / 0.4921 GB, free: 8.059 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.6995, allocations: 4 kB / 0.4921 GB, free: 8.055 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6995, allocations: 3.984 kB / 0.4921 GB, free: 8.051 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.6995, allocations: 0 / 0.4921 GB, free: 8.051 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.7031, allocations: 1.629 MB / 0.4937 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.7031, allocations: 0 / 0.4937 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.7041, allocations: 95.88 kB / 0.4938 GB, free: 6.293 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004613/0.7045, allocations: 96.7 kB / 0.4939 GB, free: 6.195 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.7046, allocations: 4 kB / 0.4939 GB, free: 6.191 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/0.7056, allocations: 0.6461 MB / 0.4945 GB, free: 5.52 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7056, allocations: 4.094 kB / 0.4945 GB, free: 5.516 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.7081, allocations: 1.012 MB / 0.4955 GB, free: 4.473 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/0.7102, allocations: 0.6732 MB / 0.4962 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.7106, allocations: 15.92 kB / 0.4962 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000932/0.7116, allocations: 24 kB / 0.4962 GB, free: 3.738 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.7117, allocations: 28.38 kB / 0.4962 GB, free: 3.711 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.7118, allocations: 20.92 kB / 0.4963 GB, free: 3.691 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0091/0.7209, allocations: 3.642 MB / 0.4998 GB, free: 60 kB / 395.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.7209, allocations: 0 / 0.4998 GB, free: 60 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.2686/0.9896, allocations: 301.8 kB / 0.5001 GB, free: 116.6 MB / 395.1 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.001161/0.9908, allocations: 355.7 kB / 0.5004 GB, free: 116.4 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.992, allocations: 338.5 kB / 0.5008 GB, free: 116.4 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.992, allocations: 3.094 kB / 0.5008 GB, free: 116.4 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.9926, allocations: 192.5 kB / 0.501 GB, free: 116.4 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.9945, allocations: 165.4 kB / 0.5011 GB, free: 116.4 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.008, allocations: 5.004 MB / 0.506 GB, free: 115.5 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003177/1.011, allocations: 1.864 MB / 0.5078 GB, free: 114.8 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009742/1.012, allocations: 137.1 kB / 0.508 GB, free: 114.8 MB / 395.1 MB Notification: Performance of SimCode: time 2.224e-06/1.012, allocations: 1.094 kB / 0.508 GB, free: 114.8 MB / 395.1 MB Notification: Performance of Templates: time 0.09639/1.109, allocations: 40.2 MB / 0.5472 GB, free: 93.25 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches