Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001645/0.001645, allocations: 108.3 kB / 20.37 MB, free: 2.098 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002162/0.002162, allocations: 213.9 kB / 23.54 MB, free: 5.395 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.2 MB / 256.8 MB, free: 8.609 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 63.89 kB / 376.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2734, allocations: 53.31 MB / 430.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007372/0.2808, allocations: 5.236 MB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009993/0.2908, allocations: 6.683 MB / 442.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.2918, allocations: 43.69 kB / 442.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.2935, allocations: 0.5005 MB / 442.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.2963, allocations: 0.8147 MB / 443.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2978, allocations: 446.3 kB / 443.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003836/0.3017, allocations: 2.055 MB / 445.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.302, allocations: 91.09 kB / 446 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.3026, allocations: 382.2 kB / 446.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.3031, allocations: 349.6 kB / 446.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.3032, allocations: 28 kB / 446.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3046, allocations: 0.4956 MB / 447.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3047, allocations: 107.2 kB / 447.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.3051, allocations: 445.1 kB / 447.8 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.3072, allocations: 1.291 MB / 449.1 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3072, allocations: 3.938 kB / 449.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3072, allocations: 3.938 kB / 449.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3072, allocations: 0 / 449.1 MB, free: 4.492 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.002213/0.3094, allocations: 1.486 MB / 450.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3095, allocations: 8.031 kB / 450.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.3098, allocations: 151.1 kB / 450.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.311, allocations: 0.8671 MB / 451.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.311, allocations: 12.44 kB / 451.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.3111, allocations: 27.95 kB / 451.7 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3117, allocations: 306.6 kB / 452 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3117, allocations: 3.984 kB / 452 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3117, allocations: 8 kB / 452 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3117, allocations: 12 kB / 452 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.3121, allocations: 229.6 kB / 452.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.3139, allocations: 1.115 MB / 453.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.3144, allocations: 218.4 kB / 453.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/0.3148, allocations: 265 kB / 453.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.316, allocations: 0.8347 MB / 454.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.3161, allocations: 38.5 kB / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/0.3161, allocations: 0 / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003265/0.3193, allocations: 1.556 MB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.3194, allocations: 114.8 kB / 456.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.3207, allocations: 0.934 MB / 457.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3207, allocations: 29.7 kB / 457.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.3211, allocations: 357.8 kB / 457.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.3212, allocations: 138.8 kB / 457.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.3214, allocations: 117.7 kB / 457.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3216, allocations: 325.9 kB / 458.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.3218, allocations: 128.6 kB / 458.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.3221, allocations: 163.8 kB / 458.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.3238, allocations: 0.7258 MB / 459.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3238, allocations: 0 / 459.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001215/0.325, allocations: 0.5622 MB / 459.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.3251, allocations: 45.69 kB / 459.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.3251, allocations: 8 kB / 459.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.3254, allocations: 69.67 kB / 459.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.3256, allocations: 55.94 kB / 460 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.3288, allocations: 3.335 MB / 463.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.3292, allocations: 8 kB / 463.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.3293, allocations: 23.98 kB / 463.3 MB, free: 5.402 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.000498/0.3298, allocations: 259.9 kB / 463.6 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.33, allocations: 127.1 kB / 463.7 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3313, allocations: 0.6685 MB / 464.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.3313, allocations: 7.984 kB / 464.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3314, allocations: 4.062 kB / 464.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3314, allocations: 3.984 kB / 464.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.3322, allocations: 0.6121 MB / 465 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/0.3322, allocations: 12 kB / 465 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3324, allocations: 39.84 kB / 465.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.3327, allocations: 73.67 kB / 465.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.3327, allocations: 16 kB / 465.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.3355, allocations: 3.332 MB / 468.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3355, allocations: 0 / 468.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.337, allocations: 0.8594 MB / 469.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.3374, allocations: 280.2 kB / 469.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.3375, allocations: 8 kB / 469.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.3377, allocations: 8 kB / 469.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3379, allocations: 35.91 kB / 469.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.3379, allocations: 19.98 kB / 469.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000878/0.3388, allocations: 0.6296 MB / 470.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3388, allocations: 0 / 470.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008588/0.3396, allocations: 227.6 kB / 470.5 MB, free: 13.79 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.0006373/0.3403, allocations: 301.2 kB / 470.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3415, allocations: 0.7495 MB / 471.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3415, allocations: 3.938 kB / 471.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.3422, allocations: 0.5892 MB / 472.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3429, allocations: 112.8 kB / 472.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.3455, allocations: 1.657 MB / 473.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.3462, allocations: 1 MB / 474.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.3463, allocations: 47.44 kB / 475 MB, free: 9.133 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3463, allocations: 0 / 475 MB, free: 9.133 MB / 382.1 MB Notification: Performance of Templates: time 0.02525/0.3715, allocations: 17.47 MB / 492.5 MB, free: 7.656 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches