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.001505/0.001506, allocations: 109.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002005/0.002005, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.516/2.516, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4407, allocations: 50.53 MB / 409.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.01035/0.4511, allocations: 5.213 MB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.4678, allocations: 6.658 MB / 421.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.4699, allocations: 43.69 kB / 421.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.4723, allocations: 0.5018 MB / 422.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.4774, allocations: 0.8108 MB / 423.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.4805, allocations: 442.3 kB / 423.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00854/0.4891, allocations: 2.044 MB / 425.6 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.4899, allocations: 163 kB / 425.8 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.4912, allocations: 382.1 kB / 426.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009136/0.4921, allocations: 345.7 kB / 426.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.4926, allocations: 36 kB / 426.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.4948, allocations: 499.5 kB / 427 MB, free: 476 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.4951, allocations: 111.2 kB / 427.1 MB, free: 364 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009751/0.4961, allocations: 453.1 kB / 427.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.4995, allocations: 1.273 MB / 428.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4996, allocations: 3.938 kB / 428.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4996, allocations: 3.938 kB / 428.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.4997, allocations: 0 / 428.8 MB, free: 14.62 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.00419/0.5039, allocations: 1.448 MB / 430.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.5039, allocations: 8.031 kB / 430.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.5046, allocations: 146.4 kB / 430.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.5071, allocations: 0.8503 MB / 431.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.5072, allocations: 12.44 kB / 431.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5073, allocations: 24 kB / 431.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.5082, allocations: 306.6 kB / 431.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.5083, allocations: 0 / 431.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.5083, allocations: 15.94 kB / 431.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5083, allocations: 4 kB / 431.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.509, allocations: 233.7 kB / 431.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.512, allocations: 1.114 MB / 433 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.5126, allocations: 250.4 kB / 433.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.5134, allocations: 293 kB / 433.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.515, allocations: 0.8347 MB / 434.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.5151, allocations: 34.56 kB / 434.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 7.354e-06/0.5151, allocations: 0 / 434.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.004874/0.52, allocations: 1.553 MB / 435.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.5201, allocations: 114.8 kB / 436 MB, free: 6.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.5223, allocations: 0.9301 MB / 437 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.5224, allocations: 37.7 kB / 437 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.5229, allocations: 357.5 kB / 437.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5231, allocations: 126.1 kB / 437.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.5234, allocations: 121.5 kB / 437.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5236, allocations: 321.9 kB / 437.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.524, allocations: 120.6 kB / 438 MB, free: 4.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.5245, allocations: 163.8 kB / 438.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.5268, allocations: 0.7296 MB / 438.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5268, allocations: 0 / 438.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00167/0.5285, allocations: 0.558 MB / 439.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/0.5286, allocations: 36.83 kB / 439.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-05/0.5286, allocations: 19.98 kB / 439.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003766/0.529, allocations: 69.62 kB / 439.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.5294, allocations: 44 kB / 439.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.5337, allocations: 3.335 MB / 443 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.5345, allocations: 15.97 kB / 443 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.5346, allocations: 23.98 kB / 443 MB, free: 15.56 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.0007985/0.5354, allocations: 263.4 kB / 443.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/0.5359, allocations: 126.4 kB / 443.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5384, allocations: 0.6647 MB / 444.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5384, allocations: 8 kB / 444.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5384, allocations: 0 / 444.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.5385, allocations: 3.984 kB / 444.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.5399, allocations: 0.6121 MB / 444.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/0.5399, allocations: 12 kB / 444.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.5403, allocations: 35.91 kB / 444.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.5407, allocations: 69.67 kB / 444.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.5408, allocations: 20 kB / 444.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004357/0.5452, allocations: 3.34 MB / 448.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5452, allocations: 0 / 448.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.5478, allocations: 0.847 MB / 449 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.5485, allocations: 275.5 kB / 449.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.5487, allocations: 8 kB / 449.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.5491, allocations: 12 kB / 449.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5493, allocations: 35.89 kB / 449.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/0.5494, allocations: 16 kB / 449.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.5507, allocations: 0.6295 MB / 450 MB, free: 8.191 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5507, allocations: 4.062 kB / 450 MB, free: 8.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001465/0.5522, allocations: 219.9 kB / 450.2 MB, free: 7.973 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.0009539/0.5531, allocations: 306.9 kB / 450.5 MB, free: 7.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.555, allocations: 0.7884 MB / 451.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.555, allocations: 0 / 451.3 MB, free: 6.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.5561, allocations: 0.6126 MB / 451.9 MB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5572, allocations: 113 kB / 452 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.5613, allocations: 1.613 MB / 453.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008399/0.5621, allocations: 1 MB / 454.6 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.5624, allocations: 51.42 kB / 454.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5624, allocations: 0 / 454.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of Templates: time 0.03827/0.6007, allocations: 17.56 MB / 472.2 MB, free: 1.719 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