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.0008445/0.0008445, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002055, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007605/0.0007605, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002501, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.081/1.081, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1816/1.262, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.633e-06/1.633e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.516e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.005958/0.005983, allocations: 2.063 MB / 224.1 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.006785, allocations: 0.6201 MB / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.006839, allocations: 3.938 kB / 224.7 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.00689, allocations: 19.84 kB / 224.7 MB, free: 13.32 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.006984, allocations: 43.62 kB / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.007203, allocations: 99.61 kB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.007375, allocations: 179.2 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007143/0.01452, allocations: 38.31 kB / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.01477, allocations: 128.5 kB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.01488, allocations: 63.8 kB / 225.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.01491, allocations: 16 kB / 225.3 MB, free: 12.76 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.01494, allocations: 16 kB / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.01498, allocations: 27.88 kB / 225.3 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.01503, allocations: 39.94 kB / 225.3 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.01522, allocations: 111.5 kB / 225.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.01524, allocations: 0 / 225.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01524, allocations: 0 / 225.4 MB, free: 12.57 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.01525, allocations: 0 / 225.4 MB, free: 12.57 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.0006367/0.01588, allocations: 399.9 kB / 225.8 MB, free: 12.15 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.01592, allocations: 8.031 kB / 225.8 MB, free: 12.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.01598, allocations: 16.92 kB / 225.9 MB, free: 12.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.01611, allocations: 137.5 kB / 226 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.01613, allocations: 8.375 kB / 226 MB, free: 11.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.01616, allocations: 12.38 kB / 226 MB, free: 11.95 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.01643, allocations: 180.5 kB / 226.2 MB, free: 11.74 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01645, allocations: 4 kB / 226.2 MB, free: 11.74 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.01646, allocations: 8 kB / 226.2 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.01647, allocations: 0 / 226.2 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.01654, allocations: 31.84 kB / 226.2 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.01714, allocations: 331 kB / 226.6 MB, free: 11.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.01726, allocations: 46.55 kB / 226.6 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.01735, allocations: 40.97 kB / 226.6 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00603/0.02338, allocations: 8 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.02341, allocations: 30.56 kB / 226.7 MB, free: 11.21 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.02341, allocations: 0 / 226.7 MB, free: 11.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001891/0.0236, allocations: 69.61 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.02363, allocations: 55.34 kB / 226.8 MB, free: 11.07 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.02373, allocations: 150.8 kB / 227 MB, free: 10.91 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.02375, allocations: 25.7 kB / 227 MB, free: 10.88 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.02382, allocations: 123.7 kB / 227.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.02385, allocations: 31.78 kB / 227.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.0239, allocations: 25.7 kB / 227.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.024, allocations: 326.8 kB / 227.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.528e-05/0.02402, allocations: 12 kB / 227.5 MB, free: 10.35 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.899e-05/0.02409, allocations: 99.61 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.02416, allocations: 54.78 kB / 227.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.02416, allocations: 0 / 227.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001182/0.02428, allocations: 77.59 kB / 227.7 MB, free: 10.08 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.0243, allocations: 8 kB / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.02431, allocations: 0 / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.02432, allocations: 0 / 227.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.02475, allocations: 91.91 kB / 227.8 MB, free: 9.984 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009137/0.02566, allocations: 1.279 MB / 229.1 MB, free: 8.617 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.02575, allocations: 24.03 kB / 229.1 MB, free: 8.594 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.02576, allocations: 0 / 229.1 MB, free: 8.594 MB / 234.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 8.123e-05/0.02584, allocations: 113.8 kB / 229.2 MB, free: 8.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.02587, allocations: 11.92 kB / 229.2 MB, free: 8.461 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.02604, allocations: 99.2 kB / 229.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.02604, allocations: 0 / 229.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02604, allocations: 48 / 229.3 MB, free: 8.355 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02604, allocations: 7.984 kB / 229.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004911/0.03095, allocations: 276.3 kB / 229.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03096, allocations: 0 / 229.6 MB, free: 8.047 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.03106, allocations: 23.97 kB / 229.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.03108, allocations: 15.84 kB / 229.6 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.03125, allocations: 40.86 kB / 229.7 MB, free: 7.965 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.03126, allocations: 3.984 kB / 229.7 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008562/0.03212, allocations: 1.17 MB / 230.9 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03212, allocations: 4.125 kB / 230.9 MB, free: 6.699 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.03234, allocations: 213.1 kB / 231.1 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.03236, allocations: 0 / 231.1 MB, free: 6.469 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.03245, allocations: 8 kB / 231.1 MB, free: 6.461 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.03248, allocations: 7.984 kB / 231.1 MB, free: 6.453 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.03249, allocations: 4 kB / 231.1 MB, free: 6.449 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.03252, allocations: 37.62 kB / 231.1 MB, free: 6.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03252, allocations: 3.938 kB / 231.1 MB, free: 6.406 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.03275, allocations: 36 kB / 231.2 MB, free: 6.371 MB / 234.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 0.0001146/0.03286, allocations: 84.39 kB / 231.3 MB, free: 6.277 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.03318, allocations: 93.62 kB / 231.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.03318, allocations: 4 kB / 231.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.03335, allocations: 155.2 kB / 231.5 MB, free: 6.012 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.03355, allocations: 73.56 kB / 231.6 MB, free: 5.934 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.03553, allocations: 382.7 kB / 231.9 MB, free: 5.527 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.264e-05/0.03558, allocations: 75.19 kB / 232 MB, free: 5.434 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.225e-05/0.03564, allocations: 12.48 kB / 232 MB, free: 5.422 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.03577, allocations: 71.34 kB / 232.1 MB, free: 5.352 MB / 234.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03577, allocations: 4 kB / 232.1 MB, free: 5.348 MB / 234.7 MB Notification: Performance of Templates: time 0.005444/0.04122, allocations: 1.943 MB / 234 MB, free: 3.406 MB / 234.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8948129527270794]