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.001611/0.001611, allocations: 196 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008693/0.0008694, allocations: 91.08 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.033e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1019, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.432, allocations: 89.13 MB / 491.2 MB, free: 440 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4322, allocations: 66.59 kB / 491.2 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09767/0.5299, allocations: 38.5 MB / 0.5173 GB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.53, allocations: 0 / 0.5173 GB, free: 11.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.65e-05/0.53, allocations: 12 kB / 0.5173 GB, free: 11.52 MB / 394.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.00198/0.532, allocations: 1.188 MB / 0.5185 GB, free: 10.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.532, allocations: 8.031 kB / 0.5185 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.5324, allocations: 142.4 kB / 0.5186 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.5336, allocations: 0.7155 MB / 0.5193 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5336, allocations: 16.44 kB / 0.5193 GB, free: 9.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.5337, allocations: 24.56 kB / 0.5194 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.5342, allocations: 302.6 kB / 0.5196 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5342, allocations: 0 / 0.5196 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.5343, allocations: 12 kB / 0.5197 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.5343, allocations: 4 kB / 0.5197 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5347, allocations: 205.8 kB / 0.5199 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.5365, allocations: 1.187 MB / 0.521 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.5369, allocations: 229 kB / 0.5212 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.5373, allocations: 284.8 kB / 0.5215 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.5388, allocations: 1.361 MB / 0.5228 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5388, allocations: 42.55 kB / 0.5229 GB, free: 5.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 3.096e-06/0.5389, allocations: 4 kB / 0.5229 GB, free: 5.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002123/0.541, allocations: 1.244 MB / 0.5241 GB, free: 4.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.5411, allocations: 118.7 kB / 0.5242 GB, free: 3.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/0.542, allocations: 0.7653 MB / 0.5249 GB, free: 3.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.542, allocations: 33.7 kB / 0.525 GB, free: 3.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.5423, allocations: 353.7 kB / 0.5253 GB, free: 2.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.5424, allocations: 133.9 kB / 0.5254 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.5424, allocations: 8 kB / 0.5255 GB, free: 2.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5425, allocations: 322 kB / 0.5258 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5427, allocations: 108.3 kB / 0.5259 GB, free: 2.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5429, allocations: 143.1 kB / 0.526 GB, free: 2.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.5432, allocations: 156.9 kB / 0.5261 GB, free: 1.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5432, allocations: 3.984 kB / 0.5262 GB, free: 1.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000789/0.544, allocations: 0.4918 MB / 0.5266 GB, free: 1.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.544, allocations: 41.69 kB / 0.5267 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.5441, allocations: 12.84 kB / 0.5267 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.5443, allocations: 65.69 kB / 0.5267 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.5445, allocations: 43.91 kB / 0.5268 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.5474, allocations: 2.99 MB / 0.5297 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.5477, allocations: 16.25 kB / 0.5297 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.5478, allocations: 23.98 kB / 0.5297 GB, free: 13.88 MB / 410.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.0001533/0.5479, allocations: 150.7 kB / 0.5299 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.5481, allocations: 126.5 kB / 0.53 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.5495, allocations: 0.6449 MB / 0.5306 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5495, allocations: 1.781 kB / 0.5306 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5495, allocations: 8 kB / 0.5307 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5496, allocations: 3.984 kB / 0.5307 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.5504, allocations: 0.6043 MB / 0.5312 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/0.5504, allocations: 12 kB / 0.5313 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.5506, allocations: 39.97 kB / 0.5313 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.5508, allocations: 73.52 kB / 0.5314 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.5508, allocations: 23.98 kB / 0.5314 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.5531, allocations: 2.99 MB / 0.5343 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5531, allocations: 3.047 kB / 0.5343 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.5543, allocations: 0.812 MB / 0.5351 GB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.5547, allocations: 287.5 kB / 0.5354 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/0.5548, allocations: 8.125 kB / 0.5354 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.5551, allocations: 16 kB / 0.5354 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.5552, allocations: 31.95 kB / 0.5354 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.5552, allocations: 19.92 kB / 0.5355 GB, free: 7.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007066/0.5559, allocations: 0.6078 MB / 0.536 GB, free: 7.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5559, allocations: 4 kB / 0.536 GB, free: 7.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001002/0.5569, allocations: 255.8 kB / 0.5363 GB, free: 6.789 MB / 410.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.0008048/0.5577, allocations: 412.2 kB / 0.5367 GB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.5587, allocations: 0.7259 MB / 0.5374 GB, free: 5.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5587, allocations: 3.938 kB / 0.5374 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.5593, allocations: 0.5974 MB / 0.538 GB, free: 4.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.5598, allocations: 91.3 kB / 0.5381 GB, free: 4.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.5615, allocations: 1.083 MB / 0.5391 GB, free: 3.723 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5621, allocations: 1.019 MB / 0.5401 GB, free: 2.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.5623, allocations: 64.58 kB / 0.5402 GB, free: 2.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/0.5624, allocations: 43.38 kB / 0.5402 GB, free: 2.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5624, allocations: 0 / 0.5402 GB, free: 2.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01723/0.5797, allocations: 9.476 MB / 0.5495 GB, free: 9.18 MB / 426.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