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.001055/0.001055, allocations: 113.8 kB / 18.46 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.001091/0.001091, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2166, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005396/0.222, allocations: 5.201 MB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.2293, allocations: 6.655 MB / 421.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.2296, allocations: 43.69 kB / 421.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.2306, allocations: 0.5057 MB / 422.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.2322, allocations: 0.8147 MB / 423.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008046/0.233, allocations: 446.3 kB / 423.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.2354, allocations: 2.044 MB / 425.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.2357, allocations: 163 kB / 425.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.2361, allocations: 382.2 kB / 426.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.2365, allocations: 345.7 kB / 426.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.2366, allocations: 32 kB / 426.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.2374, allocations: 499.5 kB / 427 MB, free: 416 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.2375, allocations: 111.2 kB / 427.1 MB, free: 304 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.2378, allocations: 445.1 kB / 427.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2391, allocations: 1.284 MB / 428.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2391, allocations: 0 / 428.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2391, allocations: 3.938 kB / 428.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.2391, allocations: 4 kB / 428.9 MB, free: 14.56 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.001721/0.2408, allocations: 1.448 MB / 430.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2409, allocations: 8.031 kB / 430.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.2412, allocations: 138.4 kB / 430.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.2422, allocations: 0.8503 MB / 431.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2422, allocations: 16.44 kB / 431.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2422, allocations: 24 kB / 431.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.2428, allocations: 310.6 kB / 431.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2428, allocations: 4 kB / 431.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2428, allocations: 11.94 kB / 431.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2428, allocations: 8 kB / 431.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.2432, allocations: 225.7 kB / 431.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.2448, allocations: 1.118 MB / 433 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.2452, allocations: 243.6 kB / 433.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.2457, allocations: 293 kB / 433.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.2467, allocations: 0.8385 MB / 434.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2467, allocations: 42.5 kB / 434.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.933e-06/0.2467, allocations: 0 / 434.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002741/0.2495, allocations: 1.546 MB / 436 MB, free: 7.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2495, allocations: 118.8 kB / 436.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.2505, allocations: 0.9301 MB / 437 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2505, allocations: 29.7 kB / 437 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2508, allocations: 357.5 kB / 437.4 MB, free: 5.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.2509, allocations: 130.1 kB / 437.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.251, allocations: 117.5 kB / 437.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2512, allocations: 325.9 kB / 437.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.2514, allocations: 128.6 kB / 438.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2517, allocations: 159.8 kB / 438.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.253, allocations: 0.7257 MB / 438.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.253, allocations: 4 kB / 438.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008959/0.2539, allocations: 0.554 MB / 439.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.254, allocations: 37.69 kB / 439.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/0.254, allocations: 16 kB / 439.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.2542, allocations: 73.66 kB / 439.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.2545, allocations: 39.97 kB / 439.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.2569, allocations: 3.327 MB / 443 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.2572, allocations: 19.95 kB / 443 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.2572, allocations: 16 kB / 443 MB, free: 15.51 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.0003313/0.2576, allocations: 267.8 kB / 443.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2577, allocations: 122.4 kB / 443.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2589, allocations: 0.6764 MB / 444.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2589, allocations: 0 / 444.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.259, allocations: 12 kB / 444.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/0.2593, allocations: 275.4 kB / 444.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.2594, allocations: 8 kB / 444.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2597, allocations: 8 kB / 444.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.2598, allocations: 35.95 kB / 444.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001162/0.2609, allocations: 0.636 MB / 445.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001102/0.2621, allocations: 0.8732 MB / 445.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002783/0.2623, allocations: 167.9 kB / 446.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.263, allocations: 0.6256 MB / 446.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Backend: time 5.91e-07/0.2631, allocations: 0 / 446.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.2647, allocations: 0.9355 MB / 447.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 0.002224/0.2669, allocations: 2.244 MB / 449.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of Templates: time 0.0155/0.2824, allocations: 9.142 MB / 459 MB, free: 15.26 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