Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001798/0.001798, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002326/0.002326, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003655/0.3221, allocations: 2.065 MB / 434.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3233, allocations: 0.67 MB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.3234, allocations: 4 kB / 434.8 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.522e-05/0.3234, allocations: 15.8 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3236, allocations: 51.62 kB / 434.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.324, allocations: 107.7 kB / 435 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3242, allocations: 183.3 kB / 435.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3244, allocations: 33.55 kB / 435.2 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.3246, allocations: 87.69 kB / 435.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3247, allocations: 79.62 kB / 435.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.3248, allocations: 16 kB / 435.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.3248, allocations: 24 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.3249, allocations: 35.89 kB / 435.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.325, allocations: 83.53 kB / 435.5 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.3252, allocations: 184.8 kB / 435.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3252, allocations: 3.938 kB / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3252, allocations: 0 / 435.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3252, allocations: 0 / 435.7 MB, free: 3.762 MB / 334.1 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.0008712/0.3261, allocations: 482.6 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3261, allocations: 8.031 kB / 436.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.3265, allocations: 48.81 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.3268, allocations: 232 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3269, allocations: 4.375 kB / 436.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3269, allocations: 8.375 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.3272, allocations: 159.8 kB / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3272, allocations: 0 / 436.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3272, allocations: 4 kB / 436.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3272, allocations: 8 kB / 436.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.3275, allocations: 91.94 kB / 436.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.3284, allocations: 0.5032 MB / 437.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3288, allocations: 106.5 kB / 437.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.329, allocations: 64.98 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.329, allocations: 3.984 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.329, allocations: 38.5 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.329, allocations: 0 / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005027/0.3295, allocations: 145.5 kB / 437.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.3296, allocations: 106.8 kB / 437.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3298, allocations: 158.9 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3298, allocations: 25.7 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.3299, allocations: 119.9 kB / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.3299, allocations: 31.73 kB / 438 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.33, allocations: 33.64 kB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3301, allocations: 326.8 kB / 438.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3303, allocations: 39.97 kB / 438.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.3304, allocations: 72.27 kB / 438.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3307, allocations: 102.5 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3307, allocations: 4 kB / 438.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003452/0.331, allocations: 141.5 kB / 438.7 MB, free: 484 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.331, allocations: 11.94 kB / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.331, allocations: 0 / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3311, allocations: 0 / 438.7 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.3317, allocations: 83.91 kB / 438.8 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.3333, allocations: 1.517 MB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3334, allocations: 15.94 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3335, allocations: 7.938 kB / 440.3 MB, free: 14.7 MB / 350.1 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.0001215/0.3336, allocations: 125.8 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.3336, allocations: 7.953 kB / 440.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.3341, allocations: 167.5 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3341, allocations: 0 / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3341, allocations: 3.938 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3341, allocations: 3.984 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.3349, allocations: 468 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3349, allocations: 0 / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.335, allocations: 19.98 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.3352, allocations: 36.86 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3353, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.3365, allocations: 1.391 MB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3365, allocations: 7.969 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.3371, allocations: 289.1 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.3372, allocations: 89.08 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3372, allocations: 15.88 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3373, allocations: 16.05 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3374, allocations: 4 kB / 443 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3374, allocations: 15.98 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3375, allocations: 124.1 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3375, allocations: 0 / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3378, allocations: 39.89 kB / 443.1 MB, free: 11.64 MB / 350.1 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.0001488/0.338, allocations: 111.2 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007206/0.3387, allocations: 131.8 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3387, allocations: 0 / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.339, allocations: 162.7 kB / 443.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3393, allocations: 8 kB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3408, allocations: 0.5476 MB / 444.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3411, allocations: 0.7157 MB / 444.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.3412, allocations: 16.53 kB / 444.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.3412, allocations: 15.42 kB / 444.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3412, allocations: 0 / 444.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Templates: time 0.005104/0.3464, allocations: 1.717 MB / 446.5 MB, free: 8.148 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.640806844923645]