Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.438/1.438, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 93.48 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004834, allocations: 11.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.292, allocations: 50.4 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4181, allocations: 78.43 MB / 481.2 MB, free: 1.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.4185, allocations: 67.97 kB / 481.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009559/0.428, allocations: 3.291 MB / 484.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4281, allocations: 0 / 484.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.4281, allocations: 4 kB / 484.5 MB, free: 14.56 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006269/0.4287, allocations: 446.9 kB / 485 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4288, allocations: 8.219 kB / 485 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.4288, allocations: 12.84 kB / 485 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.429, allocations: 204.6 kB / 485.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.429, allocations: 8.375 kB / 485.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.429, allocations: 8.594 kB / 485.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.4293, allocations: 158.4 kB / 485.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.4294, allocations: 4.125 kB / 485.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.4294, allocations: 11.94 kB / 485.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4294, allocations: 0 / 485.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.4297, allocations: 99.94 kB / 485.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.4307, allocations: 0.5148 MB / 486 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.431, allocations: 110.5 kB / 486.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.4312, allocations: 64.83 kB / 486.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.4312, allocations: 0 / 486.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4312, allocations: 42.56 kB / 486.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.4312, allocations: 4 kB / 486.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004448/0.4317, allocations: 137.5 kB / 486.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.4318, allocations: 118.8 kB / 486.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.4319, allocations: 157.8 kB / 486.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.432, allocations: 25.7 kB / 486.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.4321, allocations: 119.9 kB / 486.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.4321, allocations: 31.7 kB / 486.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.4321, allocations: 0 / 486.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4322, allocations: 322.8 kB / 487.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4324, allocations: 43.97 kB / 487.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.4325, allocations: 89 kB / 487.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.4328, allocations: 115.3 kB / 487.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4328, allocations: 0 / 487.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003289/0.4331, allocations: 149.5 kB / 487.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4332, allocations: 4 kB / 487.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4332, allocations: 7.938 kB / 487.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4332, allocations: 0 / 487.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.4338, allocations: 87.92 kB / 487.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.4352, allocations: 1.397 MB / 489 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4354, allocations: 23.89 kB / 489 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4354, allocations: 4 kB / 489 MB, free: 9.672 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.4355, allocations: 129.9 kB / 489.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.4356, allocations: 15.81 kB / 489.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.436, allocations: 159.4 kB / 489.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.436, allocations: 0 / 489.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.436, allocations: 4 kB / 489.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.436, allocations: 3.984 kB / 489.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007095/0.4367, allocations: 468 kB / 489.8 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4368, allocations: 4 kB / 489.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4369, allocations: 19.98 kB / 489.8 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/0.4372, allocations: 44.75 kB / 489.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4372, allocations: 8 kB / 489.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.4383, allocations: 1.293 MB / 491.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4383, allocations: 8.094 kB / 491.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.4389, allocations: 301 kB / 491.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.439, allocations: 88.98 kB / 491.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.439, allocations: 0 / 491.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.4392, allocations: 15.98 kB / 491.5 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4392, allocations: 19.98 kB / 491.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.4393, allocations: 0 / 491.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4394, allocations: 119.2 kB / 491.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4394, allocations: 0 / 491.7 MB, free: 6.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.4397, allocations: 43.91 kB / 491.7 MB, free: 6.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.4399, allocations: 99.25 kB / 491.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.4406, allocations: 147.8 kB / 492 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4406, allocations: 4 kB / 492 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.4409, allocations: 162.9 kB / 492.1 MB, free: 6.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.4412, allocations: 8 kB / 492.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.4428, allocations: 0.6212 MB / 492.8 MB, free: 5.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.4432, allocations: 0.7121 MB / 493.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.4433, allocations: 20.41 kB / 493.5 MB, free: 4.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.4433, allocations: 11.44 kB / 493.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4433, allocations: 0 / 493.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of Templates: time 0.00451/0.4478, allocations: 1.464 MB / 495 MB, free: 3.391 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches