Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 170.1 kB / 25.33 MB, free: 8.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9381/0.9381, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.1 MB, free: 7.508 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.45e-05, allocations: 2.312 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002468/0.002492, allocations: 2.015 MB / 253.1 MB, free: 5.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.003347, allocations: 0.6085 MB / 253.7 MB, free: 4.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.00341, allocations: 3.938 kB / 253.7 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.003466, allocations: 23.78 kB / 253.7 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.003597, allocations: 43.62 kB / 253.7 MB, free: 4.785 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.003883, allocations: 91.67 kB / 253.8 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.004057, allocations: 195.2 kB / 254 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.004189, allocations: 29.67 kB / 254.1 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.004367, allocations: 115.7 kB / 254.2 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004449, allocations: 59.8 kB / 254.2 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.004482, allocations: 16 kB / 254.2 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.284e-05/0.004505, allocations: 16 kB / 254.3 MB, free: 4.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.004537, allocations: 39.83 kB / 254.3 MB, free: 4.23 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.004593, allocations: 59.83 kB / 254.4 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.004756, allocations: 119.6 kB / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004758, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004759, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.004763, allocations: 0 / 254.5 MB, free: 4.055 MB / 234.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.0005465/0.005309, allocations: 495.8 kB / 255 MB, free: 3.535 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.005349, allocations: 15.98 kB / 255 MB, free: 3.52 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.005404, allocations: 20.84 kB / 255 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.005533, allocations: 144.4 kB / 255.1 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005548, allocations: 8.375 kB / 255.1 MB, free: 3.324 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.005581, allocations: 12.38 kB / 255.2 MB, free: 3.312 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.005808, allocations: 193.3 kB / 255.3 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.005817, allocations: 192 / 255.3 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.005831, allocations: 8.359 kB / 255.4 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.005839, allocations: 3.938 kB / 255.4 MB, free: 3.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.005916, allocations: 35.97 kB / 255.4 MB, free: 3.043 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.006618, allocations: 470.4 kB / 255.9 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.006744, allocations: 59.03 kB / 255.9 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.006841, allocations: 47.61 kB / 256 MB, free: 2.418 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.006857, allocations: 4 kB / 256 MB, free: 2.414 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.00688, allocations: 33.39 kB / 256 MB, free: 2.371 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.006881, allocations: 0 / 256 MB, free: 2.371 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.000192/0.007073, allocations: 89.75 kB / 256.1 MB, free: 2.277 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.007115, allocations: 106.8 kB / 256.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.007232, allocations: 225.6 kB / 256.4 MB, free: 1.906 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.007245, allocations: 25.7 kB / 256.4 MB, free: 1.875 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.00731, allocations: 166.7 kB / 256.6 MB, free: 1.707 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.007333, allocations: 31.73 kB / 256.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.007376, allocations: 39.36 kB / 256.7 MB, free: 1.629 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.007483, allocations: 0.4923 MB / 257.2 MB, free: 1.125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.702e-05/0.00752, allocations: 19.94 kB / 257.2 MB, free: 1.105 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.007598, allocations: 117.8 kB / 257.3 MB, free: 0.957 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/0.007676, allocations: 55.05 kB / 257.3 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.007679, allocations: 8 kB / 257.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001262/0.007805, allocations: 97.5 kB / 257.4 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.007819, allocations: 8 kB / 257.5 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007823, allocations: 0 / 257.5 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.007839, allocations: 0 / 257.5 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.008161, allocations: 87.98 kB / 257.5 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.00916, allocations: 1.882 MB / 259.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.009237, allocations: 8 kB / 259.4 MB, free: 14.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.009249, allocations: 7.984 kB / 259.4 MB, free: 14.66 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.009343, allocations: 164.5 kB / 259.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.009372, allocations: 19.84 kB / 259.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.009568, allocations: 114.1 kB / 259.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.009569, allocations: 0 / 259.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.009571, allocations: 4.031 kB / 259.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.009575, allocations: 0 / 259.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.009932, allocations: 405 kB / 260.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.009934, allocations: 0 / 260.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.01001, allocations: 23.92 kB / 260.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.01019, allocations: 55.7 kB / 260.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.0102, allocations: 0 / 260.2 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.01095, allocations: 1.751 MB / 262 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01095, allocations: 0 / 262 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.01119, allocations: 295.2 kB / 262.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.0112, allocations: 7.953 kB / 262.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.01122, allocations: 4 kB / 262.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.01128, allocations: 11.98 kB / 262.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.01132, allocations: 7.984 kB / 262.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.01132, allocations: 0 / 262.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.638e-05/0.01139, allocations: 159.2 kB / 262.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 262.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000189/0.01158, allocations: 43.89 kB / 262.5 MB, free: 11.4 MB / 250.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 8.263e-05/0.01166, allocations: 99.28 kB / 262.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.01197, allocations: 95.55 kB / 262.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01197, allocations: 4 kB / 262.7 MB, free: 11.19 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.01216, allocations: 208.5 kB / 262.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01233, allocations: 16.06 kB / 262.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.01324, allocations: 434.4 kB / 263.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.01328, allocations: 67.34 kB / 263.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01332, allocations: 16.47 kB / 263.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.01335, allocations: 16.5 kB / 263.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01335, allocations: 0 / 263.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of Templates: time 0.004271/0.01763, allocations: 1.791 MB / 265.2 MB, free: 8.59 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.894002500921488]