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.001526/0.001526, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2142, allocations: 50.53 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005365/0.2195, allocations: 5.213 MB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00848/0.228, allocations: 6.662 MB / 421.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.2288, allocations: 39.69 kB / 421.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.2301, allocations: 0.5084 MB / 422.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.2323, allocations: 0.8186 MB / 423.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.2335, allocations: 438.3 kB / 423.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.2366, allocations: 2.044 MB / 425.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.237, allocations: 171 kB / 425.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.2375, allocations: 378.1 kB / 426.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004987/0.2381, allocations: 345.7 kB / 426.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2382, allocations: 28 kB / 426.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.2393, allocations: 0.4917 MB / 427 MB, free: 368 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2394, allocations: 111.2 kB / 427.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004524/0.2399, allocations: 445.1 kB / 427.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.2416, allocations: 1.295 MB / 428.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2416, allocations: 0 / 428.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2416, allocations: 3.938 kB / 428.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.2417, allocations: 0 / 428.9 MB, free: 14.51 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.001962/0.2437, allocations: 1.482 MB / 430.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2437, allocations: 16.03 kB / 430.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003335/0.244, allocations: 147.1 kB / 430.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2451, allocations: 0.867 MB / 431.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.2452, allocations: 20.42 kB / 431.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.2453, allocations: 27.95 kB / 431.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.2458, allocations: 310.6 kB / 431.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2458, allocations: 4 kB / 431.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2458, allocations: 8 kB / 431.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.2459, allocations: 4 kB / 431.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.2463, allocations: 229.7 kB / 432 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.248, allocations: 1.118 MB / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.2484, allocations: 246.4 kB / 433.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.2489, allocations: 291.8 kB / 433.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/0.2499, allocations: 0.8347 MB / 434.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2499, allocations: 34.56 kB / 434.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.575e-06/0.2499, allocations: 0 / 434.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.00285/0.2528, allocations: 1.564 MB / 436 MB, free: 6.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.2528, allocations: 114.8 kB / 436.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.2538, allocations: 0.9301 MB / 437.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.2539, allocations: 33.7 kB / 437.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.2541, allocations: 361.8 kB / 437.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.599e-05/0.2542, allocations: 134.8 kB / 437.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2544, allocations: 121.7 kB / 437.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.2545, allocations: 325.9 kB / 438 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2548, allocations: 116.6 kB / 438.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.255, allocations: 159.8 kB / 438.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.2564, allocations: 0.7296 MB / 439 MB, free: 3.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2564, allocations: 0 / 439 MB, free: 3.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009173/0.2573, allocations: 0.5623 MB / 439.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.2574, allocations: 41.64 kB / 439.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.2574, allocations: 15.98 kB / 439.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.2576, allocations: 73.72 kB / 439.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2579, allocations: 47.91 kB / 439.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.2603, allocations: 3.331 MB / 443.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2606, allocations: 12.03 kB / 443.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.2606, allocations: 23.98 kB / 443.1 MB, free: 15.36 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.0003572/0.261, allocations: 263.9 kB / 443.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2611, allocations: 131.1 kB / 443.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2624, allocations: 0.6686 MB / 444.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2624, allocations: 3.984 kB / 444.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.682e-05/0.2624, allocations: 12 kB / 444.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.2628, allocations: 280.2 kB / 444.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2629, allocations: 11.92 kB / 444.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.2632, allocations: 12 kB / 444.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.2633, allocations: 31.95 kB / 444.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001199/0.2645, allocations: 0.6284 MB / 445.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001123/0.2656, allocations: 0.8895 MB / 446.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002826/0.2659, allocations: 171.9 kB / 446.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006925/0.2666, allocations: 0.6217 MB / 446.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.2666, allocations: 0 / 446.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.2683, allocations: 0.9352 MB / 447.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 0.002311/0.2706, allocations: 2.284 MB / 450.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of Templates: time 0.01638/0.287, allocations: 9.137 MB / 459.2 MB, free: 15.05 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