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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001653/0.001653, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2449, allocations: 50.55 MB / 409.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005627/0.2505, allocations: 5.201 MB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007859/0.2584, allocations: 6.666 MB / 421.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.2589, allocations: 43.62 kB / 421.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2601, allocations: 0.5057 MB / 421.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.2618, allocations: 0.8186 MB / 422.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009367/0.2627, allocations: 446.3 kB / 422.9 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002514/0.2652, allocations: 2.04 MB / 424.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.2655, allocations: 167 kB / 425.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.266, allocations: 378.2 kB / 425.5 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2664, allocations: 353.6 kB / 425.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.2665, allocations: 28 kB / 425.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009302/0.2674, allocations: 499.6 kB / 426.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2675, allocations: 111.2 kB / 426.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003734/0.2679, allocations: 449 kB / 426.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.2692, allocations: 1.281 MB / 428.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2692, allocations: 4 kB / 428.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2692, allocations: 0 / 428.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2693, allocations: 0 / 428.2 MB, free: 14.59 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.001715/0.271, allocations: 1.448 MB / 429.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.271, allocations: 8.031 kB / 429.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.2713, allocations: 138.4 kB / 429.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.2724, allocations: 0.8502 MB / 430.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2724, allocations: 20.44 kB / 430.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/0.2725, allocations: 24 kB / 430.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.273, allocations: 310.6 kB / 431 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.273, allocations: 3.938 kB / 431 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.273, allocations: 8 kB / 431 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.273, allocations: 8 kB / 431 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.2735, allocations: 225.6 kB / 431.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.2751, allocations: 1.114 MB / 432.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.2755, allocations: 242.4 kB / 432.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.276, allocations: 293 kB / 432.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009429/0.2769, allocations: 0.8347 MB / 433.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.277, allocations: 42.56 kB / 433.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.893e-06/0.277, allocations: 0 / 433.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002792/0.2798, allocations: 1.549 MB / 435.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.2799, allocations: 114.8 kB / 435.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.2808, allocations: 0.9262 MB / 436.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.2808, allocations: 29.7 kB / 436.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.2811, allocations: 361.5 kB / 436.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.06e-05/0.2812, allocations: 126.1 kB / 436.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.2814, allocations: 117.5 kB / 436.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2815, allocations: 333.8 kB / 437.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2817, allocations: 124.6 kB / 437.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.282, allocations: 155.8 kB / 437.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/0.2834, allocations: 0.7335 MB / 438.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2834, allocations: 0 / 438.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008839/0.2843, allocations: 0.5579 MB / 438.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.2843, allocations: 41.69 kB / 438.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.2844, allocations: 16 kB / 438.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/0.2846, allocations: 69.72 kB / 438.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2848, allocations: 43.91 kB / 439 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.2873, allocations: 3.331 MB / 442.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2875, allocations: 16.2 kB / 442.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.2876, allocations: 20 kB / 442.3 MB, free: 15.54 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.0003229/0.2879, allocations: 265.1 kB / 442.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.2881, allocations: 126.4 kB / 442.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.2893, allocations: 0.6685 MB / 443.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2893, allocations: 4 kB / 443.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2893, allocations: 0 / 443.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2893, allocations: 0 / 443.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.29, allocations: 0.6121 MB / 444 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/0.29, allocations: 15.98 kB / 444 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2902, allocations: 43.86 kB / 444.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.2904, allocations: 65.67 kB / 444.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.2905, allocations: 19.98 kB / 444.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.2928, allocations: 3.324 MB / 447.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2928, allocations: 0 / 447.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.2941, allocations: 0.8625 MB / 448.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.2944, allocations: 271.5 kB / 448.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.999e-05/0.2945, allocations: 8 kB / 448.6 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.2948, allocations: 15.98 kB / 448.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.2949, allocations: 39.91 kB / 448.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.2949, allocations: 19.98 kB / 448.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000687/0.2956, allocations: 0.6295 MB / 449.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2956, allocations: 0 / 449.3 MB, free: 8.148 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.2964, allocations: 219.9 kB / 449.5 MB, free: 7.934 MB / 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.0004944/0.2969, allocations: 302.9 kB / 449.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.298, allocations: 0.7922 MB / 450.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.298, allocations: 0 / 450.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.2988, allocations: 0.6166 MB / 451.2 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.2993, allocations: 112.4 kB / 451.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3014, allocations: 1.564 MB / 452.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.3019, allocations: 1 MB / 453.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.3022, allocations: 97.62 kB / 454 MB, free: 3.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.3023, allocations: 43.44 kB / 454 MB, free: 3.215 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3023, allocations: 0 / 454 MB, free: 3.215 MB / 366.1 MB Notification: Performance of Templates: time 0.01572/0.318, allocations: 8.73 MB / 462.8 MB, free: 10.51 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches