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.0009885/0.0009885, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.000993/0.000993, allocations: 149.1 kB / 24.81 MB, free: 9.27 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 1.019/1.019, allocations: 173.3 MB / 201.4 MB, free: 9.227 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 2.765e-06/2.765e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/3.014e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002595/0.002626, allocations: 2.049 MB / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.003498, allocations: 0.5569 MB / 271 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.0036, allocations: 7.938 kB / 271 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.003668, allocations: 15.84 kB / 271 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.003821, allocations: 47.58 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.004131, allocations: 91.73 kB / 271.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.004569, allocations: 183.2 kB / 271.4 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.004691, allocations: 41.66 kB / 271.4 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.004887, allocations: 119.6 kB / 271.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.004967, allocations: 59.8 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.004996, allocations: 16 kB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.005015, allocations: 12 kB / 271.6 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.005045, allocations: 35.91 kB / 271.6 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.005091, allocations: 55.83 kB / 271.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.005251, allocations: 127.5 kB / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005254, allocations: 0 / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005254, allocations: 0 / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.005259, allocations: 4 kB / 271.8 MB, free: 2.77 MB / 250.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.0005204/0.00578, allocations: 499.8 kB / 272.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.00582, allocations: 8.031 kB / 272.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.005863, allocations: 20.84 kB / 272.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.005961, allocations: 134.1 kB / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005973, allocations: 4.375 kB / 272.5 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.005998, allocations: 20.33 kB / 272.5 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.006198, allocations: 189.3 kB / 272.7 MB, free: 1.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.006209, allocations: 4.172 kB / 272.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.006219, allocations: 384 / 272.7 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.006227, allocations: 7.938 kB / 272.7 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.00628, allocations: 38.86 kB / 272.7 MB, free: 1.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.006816, allocations: 443.1 kB / 273.2 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.535e-05/0.006911, allocations: 58.97 kB / 273.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.006982, allocations: 43.66 kB / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.006998, allocations: 0 / 273.3 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.00702, allocations: 41.39 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.007021, allocations: 0 / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001652/0.007186, allocations: 69.62 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.007225, allocations: 110.8 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.007324, allocations: 205.9 kB / 273.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.007342, allocations: 29.7 kB / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.007411, allocations: 178.6 kB / 273.9 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.007434, allocations: 31.73 kB / 273.9 MB, free: 476 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.00748, allocations: 31.36 kB / 273.9 MB, free: 436 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.007632, allocations: 0.4962 MB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.00767, allocations: 15.92 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.007746, allocations: 109.8 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.007822, allocations: 62.97 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007824, allocations: 0 / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001259/0.00795, allocations: 97.5 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.007963, allocations: 8.062 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.007968, allocations: 0 / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.00798, allocations: 4 kB / 274.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.00828, allocations: 75.92 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009527/0.009233, allocations: 1.874 MB / 276.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.009309, allocations: 15.94 kB / 276.7 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.009316, allocations: 4 kB / 276.7 MB, free: 13.49 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 8.453e-05/0.009401, allocations: 160.6 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.009426, allocations: 11.95 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.009602, allocations: 118.4 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.009604, allocations: 0 / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.009604, allocations: 0 / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009607, allocations: 0 / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.009939, allocations: 381.2 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009941, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.01001, allocations: 23.97 kB / 277.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.01016, allocations: 43.69 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.01017, allocations: 4 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009512/0.01112, allocations: 1.721 MB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01112, allocations: 3.938 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.01134, allocations: 275.1 kB / 279.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.01136, allocations: 15.89 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.01137, allocations: 7.938 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.01144, allocations: 4 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.01147, allocations: 11.98 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01147, allocations: 16.08 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.01152, allocations: 149.8 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01152, allocations: 3.938 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.01172, allocations: 39.94 kB / 279.7 MB, free: 10.32 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 9.162e-05/0.01181, allocations: 95.25 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.01209, allocations: 95.61 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01209, allocations: 4 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01225, allocations: 213.1 kB / 280.1 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.01242, allocations: 11.94 kB / 280.1 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000803/0.01322, allocations: 429.1 kB / 280.5 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.01326, allocations: 79.28 kB / 280.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.01332, allocations: 8.484 kB / 280.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.01341, allocations: 98.17 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01341, allocations: 0 / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of Templates: time 0.003623/0.01703, allocations: 1.894 MB / 282.6 MB, free: 7.34 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 240] 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","",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.7594707482494414]