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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002973/0.002973, allocations: 148.3 kB / 24.68 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7975/0.7975, allocations: 173.4 MB / 201.2 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.794e-05, allocations: 10.16 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002063/0.00208, allocations: 1.94 MB / 321.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.0028, allocations: 0.5609 MB / 322.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.002871, allocations: 0 / 322.2 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.002921, allocations: 19.8 kB / 322.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.003031, allocations: 47.56 kB / 322.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.003299, allocations: 94.61 kB / 322.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.003466, allocations: 191.2 kB / 322.6 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.003585, allocations: 37.61 kB / 322.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.003746, allocations: 115.7 kB / 322.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.155e-05/0.003818, allocations: 63.8 kB / 322.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.003849, allocations: 16 kB / 322.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.003865, allocations: 12 kB / 322.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.003891, allocations: 35.84 kB / 322.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.003934, allocations: 55.84 kB / 322.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004095, allocations: 183.4 kB / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004096, allocations: 0 / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004097, allocations: 0 / 323.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.004101, allocations: 0 / 323.1 MB, free: 2.449 MB / 282.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.0005142/0.004615, allocations: 397.6 kB / 323.4 MB, free: 2.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.004647, allocations: 8.031 kB / 323.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.004687, allocations: 16.84 kB / 323.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.004814, allocations: 141.5 kB / 323.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.004827, allocations: 8.375 kB / 323.6 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.00485, allocations: 12.38 kB / 323.6 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.005083, allocations: 200 kB / 323.8 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.005094, allocations: 4.188 kB / 323.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.005107, allocations: 8.312 kB / 323.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.005112, allocations: 3.938 kB / 323.8 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.005259, allocations: 91.94 kB / 323.9 MB, free: 1.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.005801, allocations: 423.2 kB / 324.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.005976, allocations: 102.5 kB / 324.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.006097, allocations: 68.83 kB / 324.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.006113, allocations: 0 / 324.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.006136, allocations: 34.56 kB / 324.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.006137, allocations: 0 / 324.5 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002788/0.006416, allocations: 149.5 kB / 324.7 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.006463, allocations: 114.8 kB / 324.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.006562, allocations: 156.8 kB / 325 MB, free: 384 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.006578, allocations: 25.7 kB / 325 MB, free: 352 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.006636, allocations: 123.9 kB / 325.1 MB, free: 224 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.006658, allocations: 31.88 kB / 325.1 MB, free: 192 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.006696, allocations: 29.7 kB / 325.2 MB, free: 156 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.006784, allocations: 326.8 kB / 325.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.006851, allocations: 35.98 kB / 325.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.006949, allocations: 127.7 kB / 325.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.007085, allocations: 110.8 kB / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.007087, allocations: 0 / 325.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001894/0.007276, allocations: 145.5 kB / 325.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007287, allocations: 4 kB / 325.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007292, allocations: 0 / 325.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.007304, allocations: 4 kB / 325.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.007599, allocations: 91.94 kB / 326 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/0.008475, allocations: 1.362 MB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.008562, allocations: 28.16 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.008569, allocations: 0 / 327.4 MB, free: 13.78 MB / 298.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.585e-05/0.008645, allocations: 121.8 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.008671, allocations: 15.89 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.008911, allocations: 155.2 kB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.008912, allocations: 7.938 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.008915, allocations: 4 kB / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.008917, allocations: 0 / 327.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.009299, allocations: 391.6 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.009302, allocations: 0 / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.00938, allocations: 28.02 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.009505, allocations: 28.83 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.009514, allocations: 4 kB / 328.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/0.01015, allocations: 1.276 MB / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01016, allocations: 0 / 329.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.01046, allocations: 300.9 kB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.01047, allocations: 16.09 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01049, allocations: 3.984 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.01056, allocations: 16 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01059, allocations: 7.984 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.01059, allocations: 3.984 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.01067, allocations: 122.4 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01067, allocations: 0 / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.01086, allocations: 36 kB / 329.9 MB, free: 11.07 MB / 298.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.0001053/0.01097, allocations: 111.1 kB / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.01133, allocations: 127.9 kB / 330.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01133, allocations: 0 / 330.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.01152, allocations: 166.7 kB / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.01169, allocations: 11.94 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.0125, allocations: 0.505 MB / 330.8 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.01256, allocations: 101.6 kB / 330.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.01267, allocations: 16.48 kB / 330.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of SimCode: time 1.552e-06/0.01267, allocations: 3.938 kB / 330.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of Templates: time 0.003241/0.01591, allocations: 2.288 MB / 333.2 MB, free: 7.676 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.030134798027575]