Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 58.58 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2676, allocations: 49.16 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005054/0.2726, allocations: 4.572 MB / 401.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007483/0.2801, allocations: 5.766 MB / 407.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009718/0.2811, allocations: 65.09 kB / 407.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.2825, allocations: 463.6 kB / 407.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.2851, allocations: 0.8234 MB / 408.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2864, allocations: 435.5 kB / 408.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.2893, allocations: 1.984 MB / 410.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.2896, allocations: 102.3 kB / 411 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.2901, allocations: 386.1 kB / 411.4 MB, free: 428 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.2905, allocations: 319.3 kB / 411.7 MB, free: 268 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.2906, allocations: 30.16 kB / 411.7 MB, free: 268 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2918, allocations: 448.3 kB / 412.2 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.2918, allocations: 109.1 kB / 412.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.2922, allocations: 324.1 kB / 412.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2939, allocations: 1.295 MB / 413.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2939, allocations: 3.938 kB / 413.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2939, allocations: 1.812 kB / 413.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2939, allocations: 0 / 413.9 MB, free: 14.95 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002349/0.2963, allocations: 1.421 MB / 415.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2963, allocations: 13.14 kB / 415.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2965, allocations: 135.9 kB / 415.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.2979, allocations: 0.7696 MB / 416.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2979, allocations: 17.25 kB / 416.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.298, allocations: 30.81 kB / 416.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.2987, allocations: 373 kB / 416.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2987, allocations: 0 / 416.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.2987, allocations: 10.62 kB / 416.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2987, allocations: 5.531 kB / 416.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.2992, allocations: 258.6 kB / 416.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.3011, allocations: 0.962 MB / 417.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.3016, allocations: 253.3 kB / 418.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.3021, allocations: 293.5 kB / 418.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008474/0.303, allocations: 150.9 kB / 418.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.303, allocations: 44.73 kB / 418.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.394e-06/0.303, allocations: 0 / 418.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003283/0.3063, allocations: 1.491 MB / 420.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/0.3064, allocations: 112.2 kB / 420.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3075, allocations: 0.9318 MB / 421.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.3076, allocations: 35.08 kB / 421.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.3079, allocations: 357.9 kB / 421.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.308, allocations: 138.5 kB / 421.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.3082, allocations: 114.5 kB / 421.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3084, allocations: 325 kB / 422.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/0.3087, allocations: 161.8 kB / 422.2 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.309, allocations: 221.4 kB / 422.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.3107, allocations: 0.7594 MB / 423.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3107, allocations: 1.219 kB / 423.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001096/0.3118, allocations: 0.5874 MB / 423.8 MB, free: 7.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.3118, allocations: 41.69 kB / 423.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.3119, allocations: 20.03 kB / 423.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.3121, allocations: 69.62 kB / 423.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3124, allocations: 39.97 kB / 424 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.3152, allocations: 3.071 MB / 427 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.3156, allocations: 12.03 kB / 427.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.3157, allocations: 16 kB / 427.1 MB, free: 4.309 MB / 334.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.0004579/0.3161, allocations: 264 kB / 427.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3163, allocations: 135.1 kB / 427.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3177, allocations: 0.7093 MB / 428.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3177, allocations: 0 / 428.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3177, allocations: 4 kB / 428.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3177, allocations: 3.984 kB / 428.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.3185, allocations: 0.5046 MB / 428.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/0.3185, allocations: 8 kB / 428.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.3187, allocations: 35.97 kB / 428.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.3189, allocations: 69.61 kB / 428.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.319, allocations: 20 kB / 428.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002655/0.3216, allocations: 3.063 MB / 431.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3216, allocations: 0 / 431.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.3231, allocations: 0.9489 MB / 432.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.3236, allocations: 209 kB / 433 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3237, allocations: 8 kB / 433 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.324, allocations: 15.98 kB / 433.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3241, allocations: 27.95 kB / 433.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.3242, allocations: 20 kB / 433.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008577/0.325, allocations: 0.6295 MB / 433.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.325, allocations: 3.938 kB / 433.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000921/0.3259, allocations: 223.6 kB / 434 MB, free: 13.11 MB / 350.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.000625/0.3266, allocations: 298.8 kB / 434.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3279, allocations: 0.8162 MB / 435.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3279, allocations: 3.938 kB / 435.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008486/0.3288, allocations: 0.626 MB / 435.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.3294, allocations: 106 kB / 435.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.332, allocations: 1.652 MB / 437.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.3324, allocations: 413 kB / 437.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.3327, allocations: 97.62 kB / 437.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.663e-05/0.3328, allocations: 43.44 kB / 438 MB, free: 8.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3328, allocations: 0 / 438 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Templates: time 0.02076/0.3536, allocations: 9.919 MB / 447.9 MB, free: 14.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.8815281838178635]