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.001466/0.001467, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.0008733/0.0008737, allocations: 99.02 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/2.006e-05, allocations: 3.984 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08659/0.08662, allocations: 50.43 MB / 394.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.3719, allocations: 88.91 MB / 483.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.3721, allocations: 87.78 kB / 483.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02835/0.4005, allocations: 9.506 MB / 492.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4005, allocations: 0 / 492.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.4006, allocations: 8 kB / 492.8 MB, free: 4.973 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.0009396/0.4015, allocations: 0.5811 MB / 493.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4015, allocations: 8.031 kB / 493.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.695e-05/0.4016, allocations: 39.52 kB / 493.4 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.4021, allocations: 320.1 kB / 493.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.4021, allocations: 46.27 kB / 493.8 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.4023, allocations: 43.94 kB / 493.8 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.4028, allocations: 292.5 kB / 494.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4028, allocations: 7.938 kB / 494.1 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4028, allocations: 11.94 kB / 494.1 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4029, allocations: 8 kB / 494.1 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.4033, allocations: 262.2 kB / 494.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.4049, allocations: 1.175 MB / 495.5 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.4053, allocations: 261.1 kB / 495.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.4055, allocations: 151 kB / 495.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.4056, allocations: 4.5 kB / 495.9 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.4056, allocations: 42.56 kB / 496 MB, free: 1.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.4056, allocations: 0 / 496 MB, free: 1.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.008059/0.4137, allocations: 2.155 MB / 498.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.4138, allocations: 84.89 kB / 498.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.4141, allocations: 268.9 kB / 498.5 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.4142, allocations: 29.7 kB / 498.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4143, allocations: 160.5 kB / 498.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4144, allocations: 145.8 kB / 498.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.4144, allocations: 8 kB / 498.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4146, allocations: 350.8 kB / 499.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.4148, allocations: 140.9 kB / 499.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.4151, allocations: 201.9 kB / 499.5 MB, free: 13.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.4154, allocations: 157.6 kB / 499.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4154, allocations: 0 / 499.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00601/0.4214, allocations: 1.47 MB / 0.4894 GB, free: 12.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4215, allocations: 4 kB / 0.4894 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4215, allocations: 7.984 kB / 0.4894 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005525/0.427, allocations: 1.033 MB / 0.4904 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.4273, allocations: 71.89 kB / 0.4905 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009776/0.4371, allocations: 4.337 MB / 0.4947 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4375, allocations: 44.03 kB / 0.4947 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.4376, allocations: 12 kB / 0.4948 GB, free: 6.613 MB / 378.7 MB 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.0001241/0.4377, allocations: 124.9 kB / 0.4949 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.4378, allocations: 31.61 kB / 0.4949 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.4393, allocations: 0.6015 MB / 0.4955 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4393, allocations: 8 kB / 0.4955 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.4393, allocations: 0 / 0.4955 GB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4393, allocations: 11.94 kB / 0.4955 GB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.442, allocations: 1.213 MB / 0.4967 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.442, allocations: 7.953 kB / 0.4967 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.4425, allocations: 95.88 kB / 0.4968 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.4438, allocations: 264.4 kB / 0.4971 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.4439, allocations: 12 kB / 0.4971 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003061/0.447, allocations: 2.135 MB / 0.4991 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.447, allocations: 0 / 0.4991 GB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.4487, allocations: 0.9341 MB / 0.5001 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.4489, allocations: 144.8 kB / 0.5002 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.449, allocations: 15.98 kB / 0.5002 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.4494, allocations: 39.97 kB / 0.5003 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.988e-05/0.4495, allocations: 36.38 kB / 0.5003 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4495, allocations: 12 kB / 0.5003 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4498, allocations: 209.4 kB / 0.5005 GB, free: 492 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4498, allocations: 0 / 0.5005 GB, free: 492 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.4504, allocations: 144 kB / 0.5006 GB, free: 348 kB / 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.0002708/0.4507, allocations: 162.8 kB / 0.5008 GB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008867/0.4516, allocations: 0.5578 MB / 0.5013 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4516, allocations: 0 / 0.5013 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.4521, allocations: 341.2 kB / 0.5017 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.4524, allocations: 40.55 kB / 0.5017 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4537, allocations: 0.7261 MB / 0.5024 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.454, allocations: 0.797 MB / 0.5032 GB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.4542, allocations: 38.97 kB / 0.5032 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.4543, allocations: 27.42 kB / 0.5033 GB, free: 13.57 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4543, allocations: 0 / 0.5033 GB, free: 13.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01249/0.4668, allocations: 8.166 MB / 0.5112 GB, free: 5.422 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