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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00232/0.00232, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.002017/0.002017, allocations: 71.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2257, allocations: 53.4 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006534/0.2322, allocations: 4.575 MB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008868/0.2411, allocations: 5.856 MB / 442.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.2419, allocations: 63.38 kB / 442.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2432, allocations: 464.6 kB / 442.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.2455, allocations: 0.8342 MB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2467, allocations: 442.3 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.2497, allocations: 2.056 MB / 445.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.2499, allocations: 95.25 kB / 446 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005259/0.2505, allocations: 398.1 kB / 446.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.2509, allocations: 329.7 kB / 446.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.359e-05/0.2509, allocations: 32 kB / 446.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009656/0.2519, allocations: 459.6 kB / 447.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.252, allocations: 115.2 kB / 447.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.2524, allocations: 321.8 kB / 447.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2539, allocations: 1.307 MB / 448.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2539, allocations: 0 / 448.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2539, allocations: 4 kB / 448.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.2539, allocations: 4 kB / 448.9 MB, free: 5.129 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.00208/0.256, allocations: 1.407 MB / 450.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2561, allocations: 15.98 kB / 450.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.2564, allocations: 147.1 kB / 450.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.2577, allocations: 0.7638 MB / 451.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.2577, allocations: 20.44 kB / 451.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-05/0.2577, allocations: 27.95 kB / 451.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.2584, allocations: 370.7 kB / 451.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2584, allocations: 0 / 451.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.2584, allocations: 11.94 kB / 451.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2584, allocations: 12 kB / 451.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.2589, allocations: 263.4 kB / 451.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.2607, allocations: 0.9586 MB / 452.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.2611, allocations: 251.8 kB / 453.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.2617, allocations: 303.3 kB / 453.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.2624, allocations: 173.4 kB / 453.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2624, allocations: 34.56 kB / 453.6 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.904e-06/0.2624, allocations: 0 / 453.6 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003033/0.2655, allocations: 1.489 MB / 455.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.2655, allocations: 114.8 kB / 455.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.2666, allocations: 0.9378 MB / 456.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.2667, allocations: 33.7 kB / 456.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.267, allocations: 349.8 kB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.2671, allocations: 146.7 kB / 456.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.2673, allocations: 117.7 kB / 456.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.2674, allocations: 325.8 kB / 457.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.2677, allocations: 158.3 kB / 457.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.268, allocations: 223.2 kB / 457.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2695, allocations: 0.7451 MB / 458.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2695, allocations: 0 / 458.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001007/0.2705, allocations: 0.5955 MB / 458.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.2706, allocations: 37.7 kB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.2706, allocations: 15.98 kB / 458.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.2708, allocations: 65.69 kB / 459 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.271, allocations: 47.91 kB / 459 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.2737, allocations: 3.071 MB / 462.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.274, allocations: 11.98 kB / 462.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/0.2741, allocations: 20 kB / 462.1 MB, free: 7.332 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.0003949/0.2745, allocations: 264 kB / 462.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2746, allocations: 123.2 kB / 462.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.276, allocations: 0.7094 MB / 463.2 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.276, allocations: 7.938 kB / 463.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.276, allocations: 4 kB / 463.2 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.276, allocations: 3.984 kB / 463.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.2767, allocations: 0.4967 MB / 463.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/0.2767, allocations: 12 kB / 463.7 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2769, allocations: 39.91 kB / 463.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.2771, allocations: 69.67 kB / 463.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.2771, allocations: 16 kB / 463.8 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.2797, allocations: 3.067 MB / 466.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2797, allocations: 128 / 466.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2811, allocations: 0.9445 MB / 467.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.2816, allocations: 209 kB / 468.1 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.2817, allocations: 8 kB / 468.1 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.282, allocations: 11.98 kB / 468.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.282, allocations: 31.95 kB / 468.1 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.2821, allocations: 20.06 kB / 468.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007865/0.2829, allocations: 0.6295 MB / 468.8 MB, free: 364 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2829, allocations: 0 / 468.8 MB, free: 364 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000812/0.2837, allocations: 231.5 kB / 469 MB, free: 132 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.0005375/0.2842, allocations: 294.6 kB / 469.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.2854, allocations: 0.8275 MB / 470.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2854, allocations: 0 / 470.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.2862, allocations: 0.626 MB / 470.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.2868, allocations: 120.8 kB / 470.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.2891, allocations: 1.631 MB / 472.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.2895, allocations: 417 kB / 472.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.2898, allocations: 93.64 kB / 473 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.2899, allocations: 47.44 kB / 473 MB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2899, allocations: 0 / 473 MB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01935/0.3092, allocations: 9.951 MB / 483 MB, free: 1.977 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.831590171903372]