Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001153/0.001152, allocations: 95.39 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003807, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3303, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.4667, allocations: 86.21 MB / 460.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.4671, allocations: 83.95 kB / 460.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04614/0.5133, allocations: 9.297 MB / 470.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5133, allocations: 0 / 470.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.5133, allocations: 8 kB / 470.1 MB, free: 1.129 MB / 346.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.002008/0.5154, allocations: 0.6472 MB / 470.8 MB, free: 444 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5154, allocations: 8.031 kB / 470.8 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.5156, allocations: 39.61 kB / 470.8 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.5161, allocations: 320 kB / 471.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.5163, allocations: 50.27 kB / 471.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.5165, allocations: 35.98 kB / 471.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.5175, allocations: 324.5 kB / 471.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5175, allocations: 3.938 kB / 471.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.5176, allocations: 8 kB / 471.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5176, allocations: 8 kB / 471.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.5188, allocations: 310 kB / 471.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.5215, allocations: 1.17 MB / 473 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5225, allocations: 311.4 kB / 473.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.5226, allocations: 8 kB / 473.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.5226, allocations: 38.5 kB / 473.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/0.5226, allocations: 8 kB / 473.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.02086/0.5435, allocations: 2.824 MB / 476.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.5436, allocations: 85.05 kB / 476.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.5442, allocations: 260.2 kB / 476.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.5443, allocations: 33.7 kB / 476.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.5444, allocations: 226.9 kB / 476.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.5446, allocations: 145.9 kB / 476.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.5447, allocations: 8 kB / 477 MB, free: 9.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5448, allocations: 330.8 kB / 477.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007394/0.5456, allocations: 168.8 kB / 477.4 MB, free: 9.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.5463, allocations: 225.8 kB / 477.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007857/0.5471, allocations: 193.6 kB / 477.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5471, allocations: 0 / 477.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001853/0.549, allocations: 489.2 kB / 478.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.549, allocations: 4 kB / 478.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.5491, allocations: 0 / 478.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5491, allocations: 4 kB / 478.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5502, allocations: 131.7 kB / 478.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.5503, allocations: 8.062 kB / 478.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.551, allocations: 31.98 kB / 478.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.5511, allocations: 19.98 kB / 478.5 MB, free: 8.383 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0002709/0.5514, allocations: 145.8 kB / 478.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5515, allocations: 35.62 kB / 478.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.5557, allocations: 0.7304 MB / 479.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5557, allocations: 7.953 kB / 479.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5557, allocations: 0 / 479.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.5557, allocations: 11.97 kB / 479.5 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.5614, allocations: 1.318 MB / 480.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.5615, allocations: 0 / 480.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008885/0.5624, allocations: 91.88 kB / 480.9 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/0.5655, allocations: 288.5 kB / 481.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.5656, allocations: 16 kB / 481.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006694/0.5723, allocations: 2.307 MB / 483.5 MB, free: 3.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5724, allocations: 4.031 kB / 483.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/0.5767, allocations: 1.066 MB / 484.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.5771, allocations: 148.7 kB / 484.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.5772, allocations: 8 kB / 484.7 MB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.578, allocations: 35.97 kB / 484.7 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.5782, allocations: 48.33 kB / 484.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.5782, allocations: 12 kB / 484.8 MB, free: 1.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003577/0.5786, allocations: 212.5 kB / 485 MB, free: 1.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5786, allocations: 0 / 485 MB, free: 1.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008061/0.5794, allocations: 119.9 kB / 485.1 MB, free: 1.535 MB / 362.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 () * Number of clocked 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.0003881/0.5798, allocations: 159 kB / 485.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.5815, allocations: 446.2 kB / 485.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5816, allocations: 0 / 485.7 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5827, allocations: 385.1 kB / 486.1 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.5833, allocations: 37.97 kB / 486.1 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.5863, allocations: 1.24 MB / 487.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.5868, allocations: 0.7894 MB / 488.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.5871, allocations: 43.41 kB / 488.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5871, allocations: 4 kB / 488.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of Templates: time 0.0128/0.6, allocations: 5.626 MB / 493.8 MB, free: 8.746 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches