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.002051/0.002051, allocations: 181.3 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001111/0.00111, allocations: 96.31 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 5.67e-05/5.689e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.353, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4927, allocations: 85.45 MB / 447.8 MB, free: 0.8398 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.493, allocations: 75.95 kB / 447.9 MB, free: 0.7656 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04865/0.5417, allocations: 9.156 MB / 457 MB, free: 7.613 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5417, allocations: 0 / 457 MB, free: 7.613 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.5418, allocations: 8 kB / 457 MB, free: 7.605 MB / 347.1 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.001864/0.5437, allocations: 0.581 MB / 457.6 MB, free: 6.98 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5437, allocations: 12.03 kB / 457.6 MB, free: 6.969 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.5439, allocations: 39.53 kB / 457.7 MB, free: 6.93 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007171/0.5447, allocations: 323.9 kB / 458 MB, free: 6.57 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.5448, allocations: 42.27 kB / 458 MB, free: 6.52 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/0.545, allocations: 23.98 kB / 458 MB, free: 6.496 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000755/0.5458, allocations: 245 kB / 458.3 MB, free: 6.258 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.5465, allocations: 259.4 kB / 458.5 MB, free: 5.988 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.5465, allocations: 0 / 458.5 MB, free: 5.988 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.5466, allocations: 5.031 kB / 458.5 MB, free: 5.984 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5466, allocations: 8 kB / 458.6 MB, free: 5.977 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/0.5494, allocations: 1.113 MB / 459.7 MB, free: 4.801 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.55, allocations: 245.1 kB / 459.9 MB, free: 4.543 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.5504, allocations: 137.6 kB / 460 MB, free: 4.402 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.5504, allocations: 15.92 kB / 460.1 MB, free: 4.387 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.5505, allocations: 43.75 kB / 460.1 MB, free: 4.336 MB / 347.1 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.5505, allocations: 0 / 460.1 MB, free: 4.336 MB / 347.1 MB Notification: Performance of matching and sorting (n=42): time 0.01375/0.5643, allocations: 1.908 MB / 462 MB, free: 2.379 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5644, allocations: 89.06 kB / 462.1 MB, free: 2.273 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/0.5649, allocations: 241.5 kB / 462.3 MB, free: 2.035 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/0.565, allocations: 29.7 kB / 462.4 MB, free: 2 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.5652, allocations: 223.2 kB / 462.6 MB, free: 1.781 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5654, allocations: 137.9 kB / 462.7 MB, free: 1.645 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.5654, allocations: 7.938 kB / 462.7 MB, free: 1.637 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5656, allocations: 322.8 kB / 463 MB, free: 1.312 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.566, allocations: 136.9 kB / 463.2 MB, free: 1.18 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.5665, allocations: 185 kB / 463.3 MB, free: 0.9844 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.5669, allocations: 153.8 kB / 463.5 MB, free: 0.8359 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5669, allocations: 0 / 463.5 MB, free: 0.8359 MB / 347.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01193/0.5789, allocations: 1.421 MB / 464.9 MB, free: 15.4 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.579, allocations: 6.656 kB / 464.9 MB, free: 15.4 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.579, allocations: 4 kB / 464.9 MB, free: 15.39 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.5904, allocations: 1.03 MB / 466 MB, free: 14.36 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.591, allocations: 67.89 kB / 466 MB, free: 14.3 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/0.6094, allocations: 4.269 MB / 470.3 MB, free: 9.91 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.6103, allocations: 32.08 kB / 470.3 MB, free: 9.879 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.6103, allocations: 15.98 kB / 470.3 MB, free: 9.863 MB / 363.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: 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.0002585/0.6106, allocations: 114.9 kB / 470.5 MB, free: 9.746 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6108, allocations: 27.72 kB / 470.5 MB, free: 9.719 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.6135, allocations: 0.555 MB / 471 MB, free: 9.148 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.6135, allocations: 12 kB / 471 MB, free: 9.137 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6135, allocations: 0 / 471 MB, free: 9.137 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.6136, allocations: 7.938 kB / 471.1 MB, free: 9.129 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.6183, allocations: 1.135 MB / 472.2 MB, free: 7.949 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6183, allocations: 0 / 472.2 MB, free: 7.949 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.6192, allocations: 91.89 kB / 472.3 MB, free: 7.859 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002566/0.6218, allocations: 261.6 kB / 472.5 MB, free: 7.602 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/0.622, allocations: 4 kB / 472.5 MB, free: 7.598 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005312/0.6273, allocations: 2.091 MB / 474.6 MB, free: 5.398 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.6273, allocations: 0 / 474.6 MB, free: 5.398 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.6304, allocations: 0.8988 MB / 475.5 MB, free: 4.473 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.6308, allocations: 148.7 kB / 475.7 MB, free: 4.309 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.6309, allocations: 4 kB / 475.7 MB, free: 4.305 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/0.6317, allocations: 23.98 kB / 475.7 MB, free: 4.281 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.6319, allocations: 36.38 kB / 475.7 MB, free: 4.246 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.6319, allocations: 16 kB / 475.8 MB, free: 4.23 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003236/0.6323, allocations: 196.5 kB / 475.9 MB, free: 4.039 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6323, allocations: 0 / 475.9 MB, free: 4.039 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0009925/0.6333, allocations: 120 kB / 476.1 MB, free: 3.922 MB / 363.1 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.0003957/0.6337, allocations: 148 kB / 476.2 MB, free: 3.766 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.6352, allocations: 0.5209 MB / 476.7 MB, free: 3.23 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6352, allocations: 0 / 476.7 MB, free: 3.23 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000778/0.636, allocations: 331.2 kB / 477 MB, free: 2.898 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.6366, allocations: 34.06 kB / 477.1 MB, free: 2.867 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.6389, allocations: 0.7292 MB / 477.8 MB, free: 2.113 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.6394, allocations: 0.8006 MB / 478.6 MB, free: 1.277 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.6397, allocations: 35.42 kB / 478.6 MB, free: 1.242 MB / 363.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6397, allocations: 4 kB / 478.7 MB, free: 1.238 MB / 363.1 MB Notification: Performance of Templates: time 0.01495/0.6546, allocations: 6.113 MB / 484.8 MB, free: 11.15 MB / 379.1 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