Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001562/0.001562, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 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.002305/0.002305, allocations: 214.8 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.652/1.652, allocations: 230.6 MB / 258.2 MB, free: 7.738 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+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_4.1.0_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_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 51.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2824, allocations: 53.37 MB / 432.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006306/0.2887, allocations: 4.568 MB / 436.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009384/0.2981, allocations: 5.86 MB / 442.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.2993, allocations: 67.31 kB / 442.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.3009, allocations: 472.9 kB / 443.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.3042, allocations: 0.8342 MB / 444.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3058, allocations: 442.3 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.3097, allocations: 2.04 MB / 446.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.31, allocations: 107.2 kB / 446.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.3106, allocations: 402.2 kB / 447.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005143/0.3111, allocations: 341.7 kB / 447.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.33e-05/0.3112, allocations: 31.94 kB / 447.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3126, allocations: 483.5 kB / 447.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.3127, allocations: 115.2 kB / 448 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.3131, allocations: 321.8 kB / 448.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.3154, allocations: 1.303 MB / 449.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3154, allocations: 0 / 449.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3154, allocations: 0 / 449.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.892e-05/0.3155, allocations: 0 / 449.7 MB, free: 5.473 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.002558/0.318, allocations: 1.423 MB / 451.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3181, allocations: 8.031 kB / 451.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004059/0.3185, allocations: 147.1 kB / 451.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.3198, allocations: 0.7639 MB / 452 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.3198, allocations: 20.44 kB / 452 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.3199, allocations: 31.89 kB / 452 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.3206, allocations: 370.7 kB / 452.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3206, allocations: 0 / 452.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.3207, allocations: 8 kB / 452.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3207, allocations: 4 kB / 452.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.3212, allocations: 263.5 kB / 452.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.3231, allocations: 0.9625 MB / 453.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.3235, allocations: 248.2 kB / 453.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.3241, allocations: 303.2 kB / 454.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/0.325, allocations: 173.4 kB / 454.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.3251, allocations: 42.44 kB / 454.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/0.3251, allocations: 0 / 454.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003252/0.3283, allocations: 1.493 MB / 455.9 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.3284, allocations: 114.8 kB / 456 MB, free: 14.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.3296, allocations: 0.9378 MB / 456.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3297, allocations: 29.7 kB / 457 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.33, allocations: 349.8 kB / 457.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.3302, allocations: 142.7 kB / 457.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3304, allocations: 121.7 kB / 457.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3305, allocations: 325.9 kB / 457.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.3308, allocations: 158.3 kB / 458 MB, free: 12.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.3312, allocations: 227.8 kB / 458.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.3327, allocations: 0.7375 MB / 459 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3327, allocations: 0 / 459 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001059/0.3338, allocations: 0.5955 MB / 459.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.3338, allocations: 37.69 kB / 459.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.3339, allocations: 16 kB / 459.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.3341, allocations: 73.61 kB / 459.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.3344, allocations: 44 kB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.3374, allocations: 3.071 MB / 462.8 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.3377, allocations: 20.09 kB / 462.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.3378, allocations: 23.98 kB / 462.9 MB, free: 7.652 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.0004459/0.3382, allocations: 244 kB / 463.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.3384, allocations: 127.2 kB / 463.2 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.3398, allocations: 0.7093 MB / 463.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3398, allocations: 7.938 kB / 463.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3398, allocations: 0 / 463.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3398, allocations: 0 / 463.9 MB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.3406, allocations: 0.5046 MB / 464.4 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/0.3406, allocations: 15.98 kB / 464.5 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.3408, allocations: 35.92 kB / 464.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001916/0.341, allocations: 73.61 kB / 464.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.341, allocations: 19.98 kB / 464.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.3438, allocations: 3.063 MB / 467.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3438, allocations: 0 / 467.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3453, allocations: 0.9484 MB / 468.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.3458, allocations: 201 kB / 468.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.3459, allocations: 4 kB / 468.8 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.3462, allocations: 16.12 kB / 468.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.3462, allocations: 27.95 kB / 468.8 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.3463, allocations: 23.98 kB / 468.9 MB, free: 1.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008457/0.3471, allocations: 0.6295 MB / 469.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3471, allocations: 4 kB / 469.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008836/0.348, allocations: 227.5 kB / 469.7 MB, free: 476 kB / 366.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.0006107/0.3486, allocations: 306.8 kB / 470 MB, free: 160 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.35, allocations: 0.8198 MB / 470.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.35, allocations: 0 / 470.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.3508, allocations: 0.6299 MB / 471.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.3514, allocations: 112.7 kB / 471.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.354, allocations: 1.64 MB / 473.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3544, allocations: 417 kB / 473.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.3547, allocations: 93.64 kB / 473.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3548, allocations: 43.44 kB / 473.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3548, allocations: 0 / 473.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02101/0.3758, allocations: 10.04 MB / 483.8 MB, free: 2.223 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 5.492759649001528]