Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.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.006707/0.006707, allocations: 108.3 kB / 21.97 MB, free: 5.184 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.001766/0.001766, allocations: 220.3 kB / 25.29 MB, free: 3.203 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.445/1.445, allocations: 230.6 MB / 259 MB, free: 8.035 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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") [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.001965/0.001965, allocations: 63.89 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2738, allocations: 53.38 MB / 433.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006817/0.2806, allocations: 5.241 MB / 438.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009539/0.2902, allocations: 6.709 MB / 445.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008396/0.291, allocations: 63.31 kB / 445.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.2925, allocations: 0.4993 MB / 445.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.2953, allocations: 0.8342 MB / 446.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2968, allocations: 446.3 kB / 446.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.3003, allocations: 2.048 MB / 449 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.3006, allocations: 99.25 kB / 449.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.3013, allocations: 394.2 kB / 449.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.3018, allocations: 345.7 kB / 449.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.3019, allocations: 28 kB / 449.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.3031, allocations: 0.4995 MB / 450.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3032, allocations: 107.2 kB / 450.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.3036, allocations: 445 kB / 450.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.3053, allocations: 1.295 MB / 452.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3053, allocations: 0 / 452.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3053, allocations: 0 / 452.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.3053, allocations: 4 kB / 452.2 MB, free: 3.887 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002001/0.3073, allocations: 1.411 MB / 453.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3074, allocations: 8.031 kB / 453.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.3077, allocations: 159 kB / 453.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.3089, allocations: 0.7638 MB / 454.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3089, allocations: 20.38 kB / 454.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.309, allocations: 27.95 kB / 454.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.3096, allocations: 303.3 kB / 454.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3096, allocations: 8 kB / 454.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.3096, allocations: 8 kB / 454.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3096, allocations: 8 kB / 454.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3101, allocations: 229.8 kB / 455.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.3119, allocations: 1.054 MB / 456.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.3124, allocations: 226.4 kB / 456.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005081/0.3129, allocations: 265 kB / 456.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007192/0.3136, allocations: 161.4 kB / 456.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.3136, allocations: 42.5 kB / 456.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.124e-06/0.3136, allocations: 0 / 456.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003074/0.3167, allocations: 1.419 MB / 458.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.3168, allocations: 114.8 kB / 458.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3179, allocations: 0.9378 MB / 459.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.318, allocations: 29.7 kB / 459.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.3183, allocations: 357.8 kB / 459.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3184, allocations: 138.8 kB / 459.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.3186, allocations: 117.7 kB / 459.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3188, allocations: 325.9 kB / 460.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.319, allocations: 128.6 kB / 460.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3193, allocations: 160.4 kB / 460.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.3209, allocations: 0.7375 MB / 461.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3209, allocations: 4 kB / 461.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001055/0.3219, allocations: 0.5585 MB / 461.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.322, allocations: 41.69 kB / 461.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.328e-05/0.322, allocations: 15.94 kB / 461.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.3222, allocations: 73.72 kB / 462 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.3225, allocations: 47.91 kB / 462 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.3256, allocations: 3.128 MB / 465.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.3259, allocations: 8 kB / 465.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.326, allocations: 23.98 kB / 465.2 MB, free: 6.316 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005042/0.3265, allocations: 264 kB / 465.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.3267, allocations: 127.1 kB / 465.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.328, allocations: 0.6687 MB / 466.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.328, allocations: 4 kB / 466.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.328, allocations: 0 / 466.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.328, allocations: 3.984 kB / 466.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.3288, allocations: 0.5878 MB / 466.8 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/0.3289, allocations: 16 kB / 466.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.3291, allocations: 43.78 kB / 466.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.3293, allocations: 73.67 kB / 466.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.3293, allocations: 12 kB / 467 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/0.3321, allocations: 3.122 MB / 470.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3321, allocations: 0 / 470.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.3336, allocations: 0.8594 MB / 470.9 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.3341, allocations: 201 kB / 471.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.3341, allocations: 11.94 kB / 471.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.3344, allocations: 12.06 kB / 471.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.3345, allocations: 35.89 kB / 471.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.3346, allocations: 20.19 kB / 471.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000892/0.3355, allocations: 0.6334 MB / 471.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 471.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008467/0.3363, allocations: 227.5 kB / 472.1 MB, free: 15.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.v) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000628/0.337, allocations: 313.4 kB / 472.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3382, allocations: 0.7421 MB / 473.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3382, allocations: 3.938 kB / 473.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.3389, allocations: 0.5893 MB / 473.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005917/0.3395, allocations: 108.7 kB / 473.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.342, allocations: 1.632 MB / 475.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.3427, allocations: 1 MB / 476.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3428, allocations: 55.42 kB / 476.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3428, allocations: 0 / 476.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Templates: time 0.02457/0.3673, allocations: 17.47 MB / 494 MB, free: 8.969 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.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: 8.379018915817142]