Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008814/0.0008812, allocations: 94.86 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.852e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1, allocations: 50.42 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4155, allocations: 88.26 MB / 475.7 MB, free: 6.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4158, allocations: 79.95 kB / 475.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02802/0.4438, allocations: 9.378 MB / 485.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.055e-05/0.4439, allocations: 3.938 kB / 485.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.4439, allocations: 7.938 kB / 485.2 MB, free: 13.08 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001023/0.4449, allocations: 0.585 MB / 485.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.445, allocations: 8.031 kB / 485.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.4451, allocations: 43.52 kB / 485.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.4455, allocations: 312.2 kB / 486.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/0.4456, allocations: 42.2 kB / 486.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.4457, allocations: 23.98 kB / 486.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004148/0.4462, allocations: 249 kB / 486.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.4466, allocations: 255.4 kB / 486.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4466, allocations: 4 kB / 486.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.4466, allocations: 3.938 kB / 486.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4466, allocations: 4 kB / 486.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4483, allocations: 1.116 MB / 487.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.4487, allocations: 245.2 kB / 488.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.4489, allocations: 146.7 kB / 488.2 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.449, allocations: 11.92 kB / 488.2 MB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.449, allocations: 31.06 kB / 488.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.449, allocations: 0 / 488.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.007121/0.4561, allocations: 1.917 MB / 490.2 MB, free: 7.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.4562, allocations: 84.89 kB / 490.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4566, allocations: 256.4 kB / 490.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.4566, allocations: 29.7 kB / 490.5 MB, free: 7.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4567, allocations: 156.8 kB / 490.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4569, allocations: 141.8 kB / 490.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.4569, allocations: 0 / 490.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.457, allocations: 338.8 kB / 491.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.4573, allocations: 132.9 kB / 491.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.4576, allocations: 196.9 kB / 491.5 MB, free: 6.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.4578, allocations: 153.5 kB / 491.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4578, allocations: 0 / 491.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006012/0.4639, allocations: 1.423 MB / 493 MB, free: 4.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4639, allocations: 11.98 kB / 493.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4639, allocations: 4 kB / 493.1 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005656/0.4696, allocations: 1.033 MB / 494.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003242/0.4699, allocations: 63.86 kB / 494.2 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009789/0.4798, allocations: 4.256 MB / 498.4 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.4803, allocations: 35.83 kB / 498.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.4803, allocations: 19.98 kB / 498.5 MB, free: 15.34 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: 6 * 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 (31): * Single equations (assignments): 30 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.4806, allocations: 114.8 kB / 498.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.4807, allocations: 27.66 kB / 498.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.4822, allocations: 0.5589 MB / 499.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4822, allocations: 4 kB / 499.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4822, allocations: 0 / 499.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4822, allocations: 0 / 499.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.4851, allocations: 1.147 MB / 0.4886 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4851, allocations: 0 / 0.4886 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.4856, allocations: 95.88 kB / 0.4887 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001364/0.487, allocations: 260.5 kB / 0.4889 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.487, allocations: 3.984 kB / 0.4889 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.49, allocations: 2.1 MB / 0.491 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.49, allocations: 0 / 0.491 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4917, allocations: 0.8911 MB / 0.4919 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.4919, allocations: 148.7 kB / 0.492 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.492, allocations: 7.938 kB / 0.492 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.4924, allocations: 23.98 kB / 0.492 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4925, allocations: 36.38 kB / 0.4921 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.4926, allocations: 19.94 kB / 0.4921 GB, free: 9.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.4928, allocations: 200.5 kB / 0.4923 GB, free: 9.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4928, allocations: 0 / 0.4923 GB, free: 9.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.4935, allocations: 123.9 kB / 0.4924 GB, free: 9.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000298/0.4938, allocations: 151.6 kB / 0.4925 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.4946, allocations: 0.5132 MB / 0.493 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4946, allocations: 320 / 0.493 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.4951, allocations: 335.2 kB / 0.4934 GB, free: 8.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4954, allocations: 22.14 kB / 0.4934 GB, free: 8.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.4968, allocations: 0.7147 MB / 0.4941 GB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.4972, allocations: 0.7967 MB / 0.4948 GB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.4973, allocations: 39.27 kB / 0.4949 GB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.4975, allocations: 31.42 kB / 0.4949 GB, free: 6.699 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4975, allocations: 0 / 0.4949 GB, free: 6.699 MB / 378.7 MB Notification: Performance of Templates: time 0.01228/0.5097, allocations: 7.353 MB / 0.5021 GB, free: 15.36 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches