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.001341/0.001341, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001475/0.001475, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.46/1.46, allocations: 230.3 MB / 257.9 MB, free: 8.23 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.00198/0.00198, allocations: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2414, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006829/0.2482, allocations: 5.251 MB / 437.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009377/0.2576, allocations: 6.707 MB / 444.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007311/0.2583, allocations: 67.31 kB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.2597, allocations: 0.5004 MB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.2621, allocations: 0.8264 MB / 445.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2633, allocations: 442.3 kB / 445.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003532/0.2668, allocations: 2.052 MB / 447.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.2671, allocations: 103.2 kB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.2678, allocations: 394.2 kB / 448.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004808/0.2682, allocations: 345.7 kB / 448.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.93e-05/0.2683, allocations: 32 kB / 448.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.2694, allocations: 0.4956 MB / 449.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2695, allocations: 107.3 kB / 449.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.27, allocations: 445 kB / 449.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.2717, allocations: 1.291 MB / 451.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2717, allocations: 0 / 451.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2717, allocations: 0 / 451.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2717, allocations: 0 / 451.1 MB, free: 3.984 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.002174/0.2739, allocations: 1.415 MB / 452.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2739, allocations: 11.97 kB / 452.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.2742, allocations: 163 kB / 452.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2755, allocations: 0.7677 MB / 453.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2755, allocations: 12.44 kB / 453.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.2755, allocations: 27.95 kB / 453.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.2761, allocations: 303.3 kB / 453.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2761, allocations: 0 / 453.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.2762, allocations: 12 kB / 453.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2762, allocations: 11.98 kB / 453.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.2766, allocations: 225.8 kB / 454.1 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.2784, allocations: 1.057 MB / 455.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2789, allocations: 226.4 kB / 455.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.2794, allocations: 263.4 kB / 455.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.2801, allocations: 173.4 kB / 455.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2801, allocations: 34.56 kB / 455.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.753e-06/0.2801, allocations: 0 / 455.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002991/0.2831, allocations: 1.419 MB / 457.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.2832, allocations: 110.8 kB / 457.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.2843, allocations: 0.9378 MB / 458.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.2843, allocations: 37.7 kB / 458.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.2846, allocations: 353.8 kB / 458.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2847, allocations: 138.8 kB / 458.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.2849, allocations: 121.7 kB / 458.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2851, allocations: 317.9 kB / 459.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.2853, allocations: 124.6 kB / 459.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.2856, allocations: 163.8 kB / 459.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.2871, allocations: 0.7411 MB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2871, allocations: 3.938 kB / 460.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001046/0.2881, allocations: 0.5663 MB / 460.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.2882, allocations: 37.7 kB / 460.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/0.2882, allocations: 15.98 kB / 460.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002423/0.2885, allocations: 65.69 kB / 460.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.2887, allocations: 48 kB / 461 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.2917, allocations: 3.132 MB / 464.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.292, allocations: 12.03 kB / 464.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/0.2921, allocations: 20 kB / 464.1 MB, free: 6.406 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.0004276/0.2925, allocations: 259.9 kB / 464.4 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.2927, allocations: 131.1 kB / 464.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.294, allocations: 0.6687 MB / 465.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.294, allocations: 0 / 465.2 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.294, allocations: 4 kB / 465.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.294, allocations: 0 / 465.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/0.2948, allocations: 0.5917 MB / 465.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/0.2948, allocations: 11.98 kB / 465.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2951, allocations: 39.92 kB / 465.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.2953, allocations: 65.61 kB / 465.9 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.2953, allocations: 27.98 kB / 465.9 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/0.2981, allocations: 3.113 MB / 469 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2981, allocations: 32 / 469 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.2995, allocations: 0.8671 MB / 469.9 MB, free: 308 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/0.2999, allocations: 201 kB / 470.1 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3, allocations: 8 kB / 470.1 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.3003, allocations: 8 kB / 470.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3004, allocations: 43.81 kB / 470.1 MB, free: 44 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.3005, allocations: 16 kB / 470.2 MB, free: 28 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008051/0.3013, allocations: 0.6256 MB / 470.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3013, allocations: 4.062 kB / 470.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008262/0.3021, allocations: 227.5 kB / 471 MB, free: 15.17 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.0006022/0.3027, allocations: 314.7 kB / 471.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.3039, allocations: 0.7424 MB / 472.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3039, allocations: 0 / 472.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.3047, allocations: 0.5853 MB / 472.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3053, allocations: 112.8 kB / 472.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.3076, allocations: 1.599 MB / 474.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.3082, allocations: 1 MB / 475.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002568/0.3085, allocations: 97.58 kB / 475.5 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.3086, allocations: 47.42 kB / 475.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3086, allocations: 4 kB / 475.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01862/0.3272, allocations: 8.982 MB / 484.5 MB, free: 1.539 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.686568095348775]