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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 199.7 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009555/0.0009554, allocations: 92.02 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.27e-05/2.265e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09954, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4514, allocations: 88.46 MB / 483.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4517, allocations: 70.47 kB / 483.7 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09798/0.5497, allocations: 37.78 MB / 0.5092 GB, free: 4.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5497, allocations: 0 / 0.5092 GB, free: 4.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.3e-05/0.5498, allocations: 19.94 kB / 0.5093 GB, free: 4.16 MB / 378.7 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.002691/0.5525, allocations: 1.185 MB / 0.5104 GB, free: 2.922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5525, allocations: 8.031 kB / 0.5104 GB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004449/0.553, allocations: 146.4 kB / 0.5106 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5542, allocations: 0.7233 MB / 0.5113 GB, free: 2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.5543, allocations: 8 kB / 0.5113 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.5543, allocations: 12 kB / 0.5113 GB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003927/0.5547, allocations: 197 kB / 0.5115 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.5552, allocations: 269.8 kB / 0.5117 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5552, allocations: 0 / 0.5117 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.5552, allocations: 0 / 0.5117 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5553, allocations: 8 kB / 0.5118 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.5572, allocations: 1.128 MB / 0.5129 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002968/0.5575, allocations: 214.5 kB / 0.5131 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.558, allocations: 289.2 kB / 0.5133 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.5594, allocations: 1.357 MB / 0.5147 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.5594, allocations: 42.5 kB / 0.5147 GB, free: 14.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 1.613e-06/0.5595, allocations: 4 kB / 0.5147 GB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002256/0.5617, allocations: 1.149 MB / 0.5158 GB, free: 12.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.5618, allocations: 118.8 kB / 0.5159 GB, free: 12.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.5627, allocations: 0.7051 MB / 0.5166 GB, free: 12.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.5627, allocations: 29.7 kB / 0.5167 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.563, allocations: 349.7 kB / 0.517 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/0.5631, allocations: 130 kB / 0.5171 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.5631, allocations: 4 kB / 0.5171 GB, free: 11.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.5632, allocations: 325.9 kB / 0.5174 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5634, allocations: 96.28 kB / 0.5175 GB, free: 11.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5635, allocations: 138.8 kB / 0.5177 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.5639, allocations: 139.3 kB / 0.5178 GB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5639, allocations: 0 / 0.5178 GB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007912/0.5647, allocations: 465.7 kB / 0.5182 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.5647, allocations: 37.77 kB / 0.5183 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.5648, allocations: 19.98 kB / 0.5183 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.565, allocations: 65.69 kB / 0.5183 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.5652, allocations: 43.91 kB / 0.5184 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5674, allocations: 2.892 MB / 0.5212 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.5678, allocations: 8.031 kB / 0.5212 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.296e-05/0.5678, allocations: 24.11 kB / 0.5212 GB, free: 7.07 MB / 394.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.568, allocations: 138.7 kB / 0.5214 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.5681, allocations: 126.5 kB / 0.5215 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.5695, allocations: 0.6046 MB / 0.5221 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5695, allocations: 7.953 kB / 0.5221 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5695, allocations: 4 kB / 0.5221 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5695, allocations: 3.984 kB / 0.5221 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007216/0.5702, allocations: 0.5562 MB / 0.5226 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.5703, allocations: 15.98 kB / 0.5227 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.5704, allocations: 31.98 kB / 0.5227 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001592/0.5706, allocations: 69.67 kB / 0.5228 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.5707, allocations: 11.98 kB / 0.5228 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.5727, allocations: 2.894 MB / 0.5256 GB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5727, allocations: 4.031 kB / 0.5256 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.5738, allocations: 0.7642 MB / 0.5263 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.5742, allocations: 287.4 kB / 0.5266 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5744, allocations: 4 kB / 0.5266 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.5747, allocations: 10.91 kB / 0.5266 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.5748, allocations: 32.02 kB / 0.5267 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.5748, allocations: 23.94 kB / 0.5267 GB, free: 1.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007811/0.5756, allocations: 0.5438 MB / 0.5272 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5756, allocations: 0 / 0.5272 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001034/0.5767, allocations: 239.8 kB / 0.5274 GB, free: 396 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009582/0.5776, allocations: 428.5 kB / 0.5279 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009091/0.5786, allocations: 0.6933 MB / 0.5285 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5786, allocations: 0 / 0.5285 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.5791, allocations: 0.58 MB / 0.5291 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.5797, allocations: 101.1 kB / 0.5292 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.5814, allocations: 1.053 MB / 0.5302 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.5819, allocations: 1.023 MB / 0.5312 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002629/0.5822, allocations: 64.58 kB / 0.5313 GB, free: 12.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.5823, allocations: 39.42 kB / 0.5313 GB, free: 12.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5823, allocations: 0 / 0.5313 GB, free: 12.24 MB / 410.7 MB Notification: Performance of Templates: time 0.01529/0.5976, allocations: 7.531 MB / 0.5387 GB, free: 4.781 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches