Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001094/0.001094, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001087/0.001087, allocations: 168.7 kB / 24.82 MB, free: 8.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.531 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.223e-05, allocations: 6.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002054/0.002066, allocations: 2.049 MB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.002866, allocations: 0.6425 MB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.002932, allocations: 4 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.224e-05/0.002974, allocations: 19.8 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.003077, allocations: 47.56 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.00334, allocations: 103.7 kB / 276.3 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.003506, allocations: 195.2 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.00362, allocations: 37.78 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.003807, allocations: 123.7 kB / 276.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.003881, allocations: 59.78 kB / 276.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.003903, allocations: 16 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.136e-05/0.003955, allocations: 27.94 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.00398, allocations: 39.83 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.004017, allocations: 43.92 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.004164, allocations: 139.5 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004166, allocations: 0 / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004167, allocations: 0 / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00417, allocations: 0 / 276.9 MB, free: 13.75 MB / 266.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.0004361/0.004606, allocations: 499.8 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.004637, allocations: 12.03 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.004816, allocations: 52.81 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.004967, allocations: 166.8 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004979, allocations: 4.375 kB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.005009, allocations: 16.31 kB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.005203, allocations: 193.2 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.00521, allocations: 192 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00522, allocations: 384 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005226, allocations: 7.938 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.005277, allocations: 31.97 kB / 277.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.005782, allocations: 443.1 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.005871, allocations: 54.98 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.005936, allocations: 39.66 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.005948, allocations: 0 / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.005969, allocations: 41.39 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.00597, allocations: 4 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001546/0.006124, allocations: 85.64 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.006161, allocations: 106.8 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.006259, allocations: 216.3 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.006273, allocations: 33.7 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.006337, allocations: 162.7 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006356, allocations: 31.73 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.006397, allocations: 35.36 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.006518, allocations: 0.4923 MB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.006543, allocations: 15.98 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.006604, allocations: 109.8 kB / 279.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.491e-05/0.006679, allocations: 62.95 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006681, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001365/0.006817, allocations: 97.58 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.006829, allocations: 10.66 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006833, allocations: 0 / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.006843, allocations: 0 / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.007123, allocations: 79.92 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/0.007979, allocations: 1.87 MB / 281.9 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.008043, allocations: 15.94 kB / 281.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008049, allocations: 0 / 281.9 MB, free: 8.418 MB / 266.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 7.408e-05/0.008123, allocations: 160.6 kB / 282 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.008145, allocations: 11.95 kB / 282 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.008306, allocations: 122 kB / 282.2 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008308, allocations: 4 kB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.81e-07/0.008308, allocations: 0 / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008311, allocations: 0 / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.00863, allocations: 377.1 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.008633, allocations: 3.984 kB / 282.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.008731, allocations: 19.98 kB / 282.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.008933, allocations: 39.69 kB / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.008943, allocations: 0 / 282.6 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007742/0.009717, allocations: 1.733 MB / 284.3 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009719, allocations: 3.938 kB / 284.3 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.009924, allocations: 275.6 kB / 284.6 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.00994, allocations: 15.89 kB / 284.6 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.009952, allocations: 3.938 kB / 284.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.01002, allocations: 15.98 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.01005, allocations: 7.984 kB / 284.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.01005, allocations: 8.078 kB / 284.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.01012, allocations: 156.7 kB / 284.8 MB, free: 5.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01012, allocations: 0 / 284.8 MB, free: 5.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.0103, allocations: 35.94 kB / 284.8 MB, free: 5.238 MB / 266.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.955e-05/0.01039, allocations: 103.2 kB / 284.9 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.01066, allocations: 87.62 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01066, allocations: 4.062 kB / 285 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.01082, allocations: 212.7 kB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.01098, allocations: 12.22 kB / 285.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.01172, allocations: 442 kB / 285.7 MB, free: 4.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.01175, allocations: 67.34 kB / 285.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.01179, allocations: 16.47 kB / 285.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.01188, allocations: 102.2 kB / 285.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01188, allocations: 0 / 285.9 MB, free: 4.129 MB / 266.7 MB Notification: Performance of Templates: time 0.003444/0.01532, allocations: 1.892 MB / 287.8 MB, free: 2.246 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.4930247822776437]