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.001082/0.001082, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008023/0.0008023, allocations: 99.27 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002007, allocations: 12 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 51.47 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09225/0.2671, allocations: 89.2 MB / 498.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.2673, allocations: 71.95 kB / 498.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.236/0.5032, allocations: 38.59 MB / 0.5247 GB, free: 85.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5033, allocations: 0 / 0.5247 GB, free: 85.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.505e-05/0.5033, allocations: 18.66 kB / 0.5247 GB, free: 85.89 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.002055/0.5054, allocations: 1.405 MB / 0.5261 GB, free: 84.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.5054, allocations: 7.156 kB / 0.5261 GB, free: 84.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.5057, allocations: 141.8 kB / 0.5262 GB, free: 84.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.5068, allocations: 0.7268 MB / 0.5269 GB, free: 84.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.5068, allocations: 23.44 kB / 0.5269 GB, free: 84.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.5068, allocations: 27.56 kB / 0.527 GB, free: 84.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.5073, allocations: 307.2 kB / 0.5273 GB, free: 83.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.5073, allocations: 0 / 0.5273 GB, free: 83.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.5074, allocations: 8 kB / 0.5273 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5074, allocations: 4 kB / 0.5273 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.5077, allocations: 225.8 kB / 0.5275 GB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.5093, allocations: 1.181 MB / 0.5286 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.5096, allocations: 234.4 kB / 0.5289 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.5107, allocations: 1.365 MB / 0.5302 GB, free: 80.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.5107, allocations: 34.56 kB / 0.5302 GB, free: 80.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.853e-06/0.5107, allocations: 0 / 0.5302 GB, free: 80.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002664/0.5134, allocations: 2.068 MB / 0.5322 GB, free: 78.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5134, allocations: 110.8 kB / 0.5323 GB, free: 77.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006685/0.5141, allocations: 0.7869 MB / 0.5331 GB, free: 77.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.5141, allocations: 29.7 kB / 0.5331 GB, free: 77.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.5143, allocations: 353.7 kB / 0.5335 GB, free: 76.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.5144, allocations: 137.9 kB / 0.5336 GB, free: 76.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.5144, allocations: 4 kB / 0.5336 GB, free: 76.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.843e-05/0.5145, allocations: 322 kB / 0.5339 GB, free: 76.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5147, allocations: 124.2 kB / 0.534 GB, free: 76.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.5149, allocations: 163.4 kB / 0.5342 GB, free: 76.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.5151, allocations: 177.7 kB / 0.5344 GB, free: 75.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5151, allocations: 0 / 0.5344 GB, free: 75.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007214/0.5159, allocations: 0.5229 MB / 0.5349 GB, free: 75.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.5159, allocations: 41.7 kB / 0.5349 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.5159, allocations: 11.98 kB / 0.5349 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.5161, allocations: 77.64 kB / 0.535 GB, free: 75.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.5163, allocations: 35.98 kB / 0.535 GB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5179, allocations: 3.009 MB / 0.538 GB, free: 71.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.5182, allocations: 12 kB / 0.538 GB, free: 71.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.5182, allocations: 15.98 kB / 0.538 GB, free: 71.82 MB / 378.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 () * Number of clocked 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.0002604/0.5185, allocations: 251.5 kB / 0.5382 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5186, allocations: 126.5 kB / 0.5384 GB, free: 71.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5198, allocations: 0.6764 MB / 0.539 GB, free: 70.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5198, allocations: 7.984 kB / 0.539 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5198, allocations: 0 / 0.539 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5198, allocations: 4 kB / 0.539 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.5204, allocations: 0.6082 MB / 0.5396 GB, free: 70.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.942e-05/0.5204, allocations: 15.98 kB / 0.5396 GB, free: 70.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5206, allocations: 31.98 kB / 0.5397 GB, free: 70.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/0.5207, allocations: 65.67 kB / 0.5397 GB, free: 69.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.5208, allocations: 23.94 kB / 0.5398 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5222, allocations: 3.005 MB / 0.5427 GB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5222, allocations: 4.328 kB / 0.5427 GB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5232, allocations: 0.8549 MB / 0.5435 GB, free: 65.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.5236, allocations: 283.5 kB / 0.5438 GB, free: 65.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/0.5237, allocations: 8 kB / 0.5438 GB, free: 65.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.524, allocations: 19.97 kB / 0.5438 GB, free: 65.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.524, allocations: 27.97 kB / 0.5439 GB, free: 65.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.5241, allocations: 27.92 kB / 0.5439 GB, free: 65.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005317/0.5246, allocations: 0.614 MB / 0.5445 GB, free: 64.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5246, allocations: 4 kB / 0.5445 GB, free: 64.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007891/0.5254, allocations: 259.8 kB / 0.5447 GB, free: 64.52 MB / 378.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 () * 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 (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.000568/0.526, allocations: 417.9 kB / 0.5451 GB, free: 64.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008177/0.5268, allocations: 0.7655 MB / 0.5459 GB, free: 63.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5268, allocations: 0 / 0.5459 GB, free: 63.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.5273, allocations: 0.6165 MB / 0.5465 GB, free: 62.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.5278, allocations: 92.78 kB / 0.5466 GB, free: 62.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5296, allocations: 1.854 MB / 0.5484 GB, free: 60.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5299, allocations: 1.026 MB / 0.5494 GB, free: 59.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.5301, allocations: 60.58 kB / 0.5494 GB, free: 59.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.5302, allocations: 43.36 kB / 0.5495 GB, free: 59.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5302, allocations: 3.938 kB / 0.5495 GB, free: 59.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01306/0.5433, allocations: 8.999 MB / 0.5583 GB, free: 50.49 MB / 378.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