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.001567/0.001567, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.753/2.753, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.001029/0.001028, allocations: 92.73 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005984/0.0005988, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5584, allocations: 47.58 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.7671, allocations: 86.25 MB / 462 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/0.7676, allocations: 91.94 kB / 462.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.051/0.8186, allocations: 9.275 MB / 471.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.8187, allocations: 0 / 471.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.911e-05/0.8187, allocations: 4 kB / 471.3 MB, free: 0.9531 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.00236/0.8211, allocations: 0.6473 MB / 472 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.102e-05/0.8212, allocations: 8.031 kB / 472 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.8214, allocations: 40.56 kB / 472 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.8222, allocations: 329 kB / 472.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.8224, allocations: 54.83 kB / 472.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.8226, allocations: 32.73 kB / 472.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.8238, allocations: 332.6 kB / 472.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.8238, allocations: 0 / 472.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.8239, allocations: 16 kB / 472.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.8239, allocations: 7.984 kB / 472.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.8251, allocations: 306 kB / 473.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.8283, allocations: 1.177 MB / 474.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.8294, allocations: 301 kB / 474.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/0.83, allocations: 169.6 kB / 474.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.8301, allocations: 4 kB / 474.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.8301, allocations: 46.5 kB / 474.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.707e-06/0.8301, allocations: 0 / 474.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0177/0.8478, allocations: 2.832 MB / 477.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.8481, allocations: 85.11 kB / 477.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/0.849, allocations: 292.8 kB / 478 MB, free: 9.992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.8491, allocations: 33.7 kB / 478 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.8493, allocations: 164.5 kB / 478.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.8496, allocations: 145.9 kB / 478.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.8497, allocations: 8 kB / 478.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003478/0.85, allocations: 342.8 kB / 478.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.8508, allocations: 172.8 kB / 478.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.8515, allocations: 225.8 kB / 479.1 MB, free: 8.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.8531, allocations: 422.8 kB / 479.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8531, allocations: 0 / 479.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001948/0.8551, allocations: 496.6 kB / 479.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.8552, allocations: 4 kB / 480 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.8552, allocations: 4 kB / 480 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.8552, allocations: 0 / 480 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.8563, allocations: 131.8 kB / 480.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.8564, allocations: 4 kB / 480.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.8571, allocations: 35.92 kB / 480.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.8572, allocations: 19.98 kB / 480.1 MB, free: 7.77 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.0004085/0.8577, allocations: 149.8 kB / 480.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.8579, allocations: 31.62 kB / 480.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/0.8612, allocations: 0.7304 MB / 481.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.8613, allocations: 11.94 kB / 481.1 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.8613, allocations: 4 kB / 481.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.8613, allocations: 3.984 kB / 481.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/0.8666, allocations: 1.318 MB / 482.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.8666, allocations: 0 / 482.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.8675, allocations: 95.88 kB / 482.5 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003045/0.8705, allocations: 288.5 kB / 482.8 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.952e-05/0.8707, allocations: 12 kB / 482.8 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006785/0.8775, allocations: 2.268 MB / 485 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8776, allocations: 3.984 kB / 485 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.8819, allocations: 1.046 MB / 486.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.8825, allocations: 144.7 kB / 486.2 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.8826, allocations: 12 kB / 486.2 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.8833, allocations: 43.86 kB / 486.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.8836, allocations: 36.38 kB / 486.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.8837, allocations: 15.98 kB / 486.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004195/0.8841, allocations: 208.5 kB / 486.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.8841, allocations: 0 / 486.5 MB, free: 1.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00104/0.8852, allocations: 127.9 kB / 486.7 MB, free: 0.9883 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.0005002/0.8857, allocations: 159 kB / 486.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.8874, allocations: 450.3 kB / 487.3 MB, free: 392 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.8874, allocations: 4.125 kB / 487.3 MB, free: 388 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.8886, allocations: 381 kB / 487.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009136/0.8895, allocations: 44.44 kB / 487.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.8931, allocations: 1.237 MB / 488.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.8937, allocations: 0.7932 MB / 489.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.8941, allocations: 39.41 kB / 489.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8941, allocations: 4 kB / 489.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01863/0.9127, allocations: 5.756 MB / 495.5 MB, free: 8.066 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