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.001615/0.001615, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2521, allocations: 50.53 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005814/0.2579, allocations: 5.213 MB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008365/0.2664, allocations: 6.654 MB / 421.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.2672, allocations: 39.69 kB / 421.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.2687, allocations: 0.5057 MB / 422.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.2711, allocations: 0.8147 MB / 423.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2723, allocations: 442.3 kB / 423.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.2753, allocations: 2.044 MB / 425.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003243/0.2756, allocations: 167 kB / 425.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.2762, allocations: 382.2 kB / 426.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.2767, allocations: 341.6 kB / 426.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.596e-05/0.2768, allocations: 28 kB / 426.5 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.278, allocations: 0.4956 MB / 427 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.2781, allocations: 111.2 kB / 427.1 MB, free: 336 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.2785, allocations: 453.1 kB / 427.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.2801, allocations: 1.277 MB / 428.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2801, allocations: 0 / 428.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2801, allocations: 3.938 kB / 428.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.2802, allocations: 0 / 428.8 MB, free: 14.6 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.002019/0.2822, allocations: 1.444 MB / 430.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.2822, allocations: 12.03 kB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.2825, allocations: 138.4 kB / 430.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.2836, allocations: 0.8502 MB / 431.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2836, allocations: 12.44 kB / 431.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.2837, allocations: 28 kB / 431.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.2842, allocations: 306.6 kB / 431.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2842, allocations: 0 / 431.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.2843, allocations: 12 kB / 431.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.2843, allocations: 7.938 kB / 431.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.2847, allocations: 233.6 kB / 431.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.2863, allocations: 1.114 MB / 433 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.2867, allocations: 246.4 kB / 433.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.2872, allocations: 297 kB / 433.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/0.2882, allocations: 0.8347 MB / 434.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2883, allocations: 30.56 kB / 434.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.2883, allocations: 0 / 434.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002868/0.2911, allocations: 1.553 MB / 435.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.2912, allocations: 106.8 kB / 436 MB, free: 6.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.2922, allocations: 0.934 MB / 437 MB, free: 5.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.2923, allocations: 29.7 kB / 437 MB, free: 5.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.2925, allocations: 357.5 kB / 437.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.2926, allocations: 130.1 kB / 437.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.2928, allocations: 125.5 kB / 437.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2929, allocations: 325.9 kB / 437.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.2932, allocations: 120.5 kB / 438 MB, free: 4.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.2934, allocations: 163.8 kB / 438.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2948, allocations: 0.7257 MB / 438.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2948, allocations: 0 / 438.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008769/0.2957, allocations: 0.554 MB / 439.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.2957, allocations: 45.72 kB / 439.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.2958, allocations: 12 kB / 439.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.296, allocations: 73.66 kB / 439.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2962, allocations: 47.91 kB / 439.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.2987, allocations: 3.331 MB / 443 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.299, allocations: 12.06 kB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.2991, allocations: 27.92 kB / 443 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.000366/0.2995, allocations: 265 kB / 443.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2996, allocations: 122.6 kB / 443.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3008, allocations: 0.6646 MB / 444.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3009, allocations: 4 kB / 444.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3009, allocations: 4 kB / 444.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3009, allocations: 3.984 kB / 444.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.3016, allocations: 0.6121 MB / 444.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/0.3016, allocations: 16 kB / 444.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.3018, allocations: 39.84 kB / 444.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.302, allocations: 69.67 kB / 444.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.3021, allocations: 16 kB / 444.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.3044, allocations: 3.328 MB / 448.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3045, allocations: 64 / 448.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.3057, allocations: 0.8586 MB / 449 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/0.3061, allocations: 275.4 kB / 449.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3062, allocations: 12.06 kB / 449.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.3065, allocations: 8 kB / 449.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.3066, allocations: 35.89 kB / 449.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.3066, allocations: 24.12 kB / 449.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006937/0.3073, allocations: 0.6217 MB / 450 MB, free: 8.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3073, allocations: 0 / 450 MB, free: 8.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007609/0.3081, allocations: 223.9 kB / 450.2 MB, free: 7.949 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.0005368/0.3086, allocations: 306.8 kB / 450.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.3097, allocations: 0.7885 MB / 451.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3097, allocations: 0 / 451.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000654/0.3104, allocations: 0.6165 MB / 451.9 MB, free: 6.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.311, allocations: 122.9 kB / 452 MB, free: 5.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.3132, allocations: 1.597 MB / 453.6 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.3137, allocations: 1.004 MB / 454.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.3139, allocations: 51.42 kB / 454.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3139, allocations: 0 / 454.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of Templates: time 0.0202/0.3341, allocations: 17.45 MB / 472.1 MB, free: 1.812 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches