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.002695/0.002695, allocations: 99.86 kB / 20.97 MB, free: 3.453 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.002848/0.002848, allocations: 145.1 kB / 24.26 MB, free: 164 kB / 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.553/1.553, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.222e-06/1.222e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.616e-05, allocations: 2.312 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003546/0.003572, allocations: 2.026 MB / 269.4 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004747, allocations: 0.5647 MB / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.004817, allocations: 0 / 269.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.465e-05/0.004882, allocations: 19.78 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.005043, allocations: 47.58 kB / 270 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.005387, allocations: 91.73 kB / 270.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.005641, allocations: 191.2 kB / 270.3 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.005786, allocations: 41.61 kB / 270.3 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.006006, allocations: 107.8 kB / 270.4 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.006128, allocations: 63.8 kB / 270.5 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.006167, allocations: 16 kB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.569e-05/0.006203, allocations: 16 kB / 270.5 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.006251, allocations: 39.83 kB / 270.5 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.006336, allocations: 55.84 kB / 270.6 MB, free: 3.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.006606, allocations: 187.3 kB / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006608, allocations: 0 / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006609, allocations: 0 / 270.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006614, allocations: 0 / 270.8 MB, free: 3.25 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.0008591/0.007473, allocations: 495.6 kB / 271.3 MB, free: 2.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.007514, allocations: 8.031 kB / 271.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.007587, allocations: 20.84 kB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.007786, allocations: 148.4 kB / 271.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007804, allocations: 8.375 kB / 271.4 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.00784, allocations: 12.38 kB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.008216, allocations: 207.9 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.00823, allocations: 192 / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.008247, allocations: 384 / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.008256, allocations: 7.938 kB / 271.7 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.00851, allocations: 83.81 kB / 271.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.009571, allocations: 0.5024 MB / 272.2 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.01005, allocations: 91.02 kB / 272.3 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.01024, allocations: 63.66 kB / 272.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.01026, allocations: 0 / 272.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.01029, allocations: 41.39 kB / 272.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.01029, allocations: 3.938 kB / 272.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004518/0.01075, allocations: 141.6 kB / 272.6 MB, free: 1.277 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.01083, allocations: 106.8 kB / 272.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.01105, allocations: 225.9 kB / 272.9 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01108, allocations: 25.7 kB / 272.9 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.01121, allocations: 174.6 kB / 273.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.01125, allocations: 23.81 kB / 273.1 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.01132, allocations: 43.36 kB / 273.2 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000285/0.01161, allocations: 0.4962 MB / 273.7 MB, free: 124 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.01172, allocations: 31.98 kB / 273.7 MB, free: 92 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.01217, allocations: 141.8 kB / 273.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.01242, allocations: 103 kB / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01242, allocations: 0 / 273.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003533/0.01277, allocations: 145.5 kB / 274.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01279, allocations: 4 kB / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01279, allocations: 0 / 274.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01281, allocations: 7.984 kB / 274.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.01339, allocations: 79.86 kB / 274.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.01536, allocations: 1.932 MB / 276.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.01553, allocations: 27.88 kB / 276.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01554, allocations: 4 kB / 276.1 MB, free: 13.48 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 0.0001522/0.01569, allocations: 172.7 kB / 276.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.01574, allocations: 15.89 kB / 276.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.01618, allocations: 146 kB / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01619, allocations: 0 / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01619, allocations: 0 / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01619, allocations: 0 / 276.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007981/0.01699, allocations: 461.1 kB / 276.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.01699, allocations: 3.984 kB / 276.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01712, allocations: 27.91 kB / 276.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.01743, allocations: 43.66 kB / 277 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.01744, allocations: 0 / 277 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.01901, allocations: 1.802 MB / 278.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01901, allocations: 3.984 kB / 278.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.01964, allocations: 335.3 kB / 279.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.01966, allocations: 11.91 kB / 279.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.01969, allocations: 11.98 kB / 279.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.01983, allocations: 4 kB / 279.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.01987, allocations: 7.984 kB / 279.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.01989, allocations: 8 kB / 279.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.02002, allocations: 169.5 kB / 279.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02002, allocations: 0 / 279.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.02043, allocations: 36.03 kB / 279.4 MB, free: 10.02 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 0.0001282/0.02056, allocations: 103.2 kB / 279.5 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.02125, allocations: 139.5 kB / 279.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02125, allocations: 0 / 279.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.02162, allocations: 225.2 kB / 279.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.02186, allocations: 18.91 kB / 279.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.0231, allocations: 434.5 kB / 280.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.02321, allocations: 101.6 kB / 280.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.02327, allocations: 16.47 kB / 280.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.02332, allocations: 16.5 kB / 280.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of SimCode: time 4.3e-07/0.02332, allocations: 0 / 280.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Templates: time 0.005434/0.02876, allocations: 1.797 MB / 282.2 MB, free: 7.113 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","/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.548948957934044]