Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 118.5 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.91 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2214, allocations: 50.55 MB / 410.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006153/0.2275, allocations: 5.224 MB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008834/0.2364, allocations: 6.67 MB / 422.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/0.2371, allocations: 39.69 kB / 422.1 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.2385, allocations: 0.5084 MB / 422.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.2408, allocations: 0.8147 MB / 423.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2419, allocations: 442.3 kB / 423.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.245, allocations: 2.048 MB / 425.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.2453, allocations: 99.06 kB / 426 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.2459, allocations: 378.2 kB / 426.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.2463, allocations: 349.7 kB / 426.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2463, allocations: 32 kB / 426.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.2474, allocations: 495.6 kB / 427.3 MB, free: 276 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2475, allocations: 115.2 kB / 427.4 MB, free: 160 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.2479, allocations: 445.1 kB / 427.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.2495, allocations: 1.299 MB / 429.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2495, allocations: 0 / 429.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2495, allocations: 0 / 429.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2495, allocations: 4 kB / 429.1 MB, free: 14.41 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.002012/0.2515, allocations: 1.486 MB / 430.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2516, allocations: 8.031 kB / 430.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.2519, allocations: 159.1 kB / 430.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.253, allocations: 0.8593 MB / 431.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2531, allocations: 16.44 kB / 431.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-05/0.2531, allocations: 27.95 kB / 431.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.2537, allocations: 306.6 kB / 432 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2537, allocations: 0 / 432 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.2537, allocations: 12 kB / 432 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2537, allocations: 11.94 kB / 432 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004199/0.2541, allocations: 229.7 kB / 432.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.2559, allocations: 1.111 MB / 433.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.2563, allocations: 222.4 kB / 433.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.2568, allocations: 261 kB / 433.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.2579, allocations: 0.8386 MB / 434.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.2579, allocations: 38.5 kB / 434.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/0.2579, allocations: 0 / 434.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002985/0.2609, allocations: 1.563 MB / 436.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.261, allocations: 106.8 kB / 436.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.262, allocations: 0.934 MB / 437.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.2621, allocations: 33.7 kB / 437.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.2624, allocations: 361.8 kB / 437.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2625, allocations: 134.8 kB / 437.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.2627, allocations: 121.7 kB / 437.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2629, allocations: 325.9 kB / 438.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2631, allocations: 116.6 kB / 438.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.2634, allocations: 159.8 kB / 438.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.2649, allocations: 0.7335 MB / 439.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2649, allocations: 0 / 439.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009801/0.2659, allocations: 0.5622 MB / 439.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.2659, allocations: 37.7 kB / 439.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/0.2659, allocations: 15.98 kB / 439.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.2661, allocations: 73.62 kB / 439.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2664, allocations: 44 kB / 440 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.2693, allocations: 3.332 MB / 443.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.2696, allocations: 12.03 kB / 443.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.2696, allocations: 23.92 kB / 443.3 MB, free: 15.32 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.0004198/0.2701, allocations: 267.9 kB / 443.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.2702, allocations: 131.1 kB / 443.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2715, allocations: 0.6647 MB / 444.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.2715, allocations: 4 kB / 444.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2715, allocations: 4 kB / 444.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2715, allocations: 3.984 kB / 444.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.2723, allocations: 0.6121 MB / 445 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/0.2724, allocations: 12 kB / 445 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.2726, allocations: 39.91 kB / 445 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.2728, allocations: 69.67 kB / 445.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.2728, allocations: 19.94 kB / 445.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/0.2756, allocations: 3.331 MB / 448.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2756, allocations: 0 / 448.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.2771, allocations: 0.8555 MB / 449.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.2775, allocations: 280.2 kB / 449.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.2776, allocations: 8 kB / 449.6 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.2779, allocations: 12 kB / 449.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.278, allocations: 35.89 kB / 449.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.278, allocations: 16 kB / 449.7 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008677/0.2789, allocations: 0.6296 MB / 450.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2789, allocations: 0 / 450.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008549/0.2797, allocations: 231.5 kB / 450.5 MB, free: 7.707 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.0005944/0.2803, allocations: 306.6 kB / 450.8 MB, free: 7.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.2815, allocations: 0.7494 MB / 451.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2816, allocations: 0 / 451.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.2823, allocations: 0.5814 MB / 452.2 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.2829, allocations: 120.9 kB / 452.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.2853, allocations: 1.613 MB / 453.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.2859, allocations: 1 MB / 454.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.2862, allocations: 93.64 kB / 455 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.2863, allocations: 51.42 kB / 455 MB, free: 2.996 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2863, allocations: 0 / 455 MB, free: 2.996 MB / 366.1 MB Notification: Performance of Templates: time 0.01801/0.3043, allocations: 8.766 MB / 463.8 MB, free: 10.27 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches