Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009033/0.0009033, allocations: 202.7 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 245.3 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007027/0.0007028, allocations: 91.92 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.000214, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1935, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09392/0.2874, allocations: 89.15 MB / 497.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.2877, allocations: 71.97 kB / 497.9 MB, free: 2.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2307/0.5184, allocations: 37.82 MB / 0.5231 GB, free: 86.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5185, allocations: 2.312 kB / 0.5231 GB, free: 86.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.5185, allocations: 13.5 kB / 0.5232 GB, free: 86.74 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.001774/0.5203, allocations: 1.393 MB / 0.5245 GB, free: 85.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.5203, allocations: 9.625 kB / 0.5245 GB, free: 85.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.5206, allocations: 143.5 kB / 0.5247 GB, free: 85.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.5214, allocations: 0.7703 MB / 0.5254 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5215, allocations: 14.88 kB / 0.5254 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.5215, allocations: 20.34 kB / 0.5255 GB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.522, allocations: 309.3 kB / 0.5257 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.522, allocations: 0 / 0.5257 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.522, allocations: 11.56 kB / 0.5258 GB, free: 84.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5221, allocations: 7.859 kB / 0.5258 GB, free: 84.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.5224, allocations: 226.8 kB / 0.526 GB, free: 84.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.5239, allocations: 1.153 MB / 0.5271 GB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.5242, allocations: 242.4 kB / 0.5273 GB, free: 84.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.5246, allocations: 295.8 kB / 0.5276 GB, free: 83.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.5256, allocations: 1.361 MB / 0.529 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5256, allocations: 35.06 kB / 0.529 GB, free: 82.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.5256, allocations: 0 / 0.529 GB, free: 82.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.002503/0.5281, allocations: 1.674 MB / 0.5306 GB, free: 80.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.5282, allocations: 110.8 kB / 0.5307 GB, free: 80.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/0.529, allocations: 0.9145 MB / 0.5316 GB, free: 79.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.529, allocations: 33.7 kB / 0.5317 GB, free: 79.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.5292, allocations: 369.5 kB / 0.532 GB, free: 79.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.5293, allocations: 122.1 kB / 0.5321 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.5293, allocations: 4 kB / 0.5321 GB, free: 79.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.5293, allocations: 326 kB / 0.5324 GB, free: 78.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5296, allocations: 124.2 kB / 0.5326 GB, free: 78.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.5298, allocations: 162.8 kB / 0.5327 GB, free: 78.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.5302, allocations: 361.2 kB / 0.5331 GB, free: 78.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5302, allocations: 0 / 0.5331 GB, free: 78.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007372/0.531, allocations: 0.5343 MB / 0.5336 GB, free: 77.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.531, allocations: 41.69 kB / 0.5336 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.531, allocations: 12 kB / 0.5336 GB, free: 77.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.5312, allocations: 73.67 kB / 0.5337 GB, free: 77.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.5314, allocations: 43.95 kB / 0.5337 GB, free: 77.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.5331, allocations: 2.99 MB / 0.5367 GB, free: 74.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.5334, allocations: 16.03 kB / 0.5367 GB, free: 74.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5335, allocations: 20.11 kB / 0.5367 GB, free: 74.01 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.0002869/0.5337, allocations: 243.5 kB / 0.5369 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5339, allocations: 126.5 kB / 0.537 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.535, allocations: 0.6801 MB / 0.5377 GB, free: 72.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.535, allocations: 11.98 kB / 0.5377 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.535, allocations: 0 / 0.5377 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.535, allocations: 0 / 0.5377 GB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005701/0.5356, allocations: 0.616 MB / 0.5383 GB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.5357, allocations: 8 kB / 0.5383 GB, free: 72.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.5358, allocations: 39.97 kB / 0.5384 GB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/0.536, allocations: 69.61 kB / 0.5384 GB, free: 72.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.536, allocations: 20 kB / 0.5385 GB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.5375, allocations: 2.989 MB / 0.5414 GB, free: 68.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5375, allocations: 0 / 0.5414 GB, free: 68.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.5385, allocations: 0.8516 MB / 0.5422 GB, free: 67.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.5388, allocations: 271.4 kB / 0.5425 GB, free: 67.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.539, allocations: 8 kB / 0.5425 GB, free: 67.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5392, allocations: 12 kB / 0.5425 GB, free: 67.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.5393, allocations: 35.95 kB / 0.5425 GB, free: 67.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.5394, allocations: 16.06 kB / 0.5425 GB, free: 67.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005997/0.54, allocations: 0.6178 MB / 0.5431 GB, free: 67 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.54, allocations: 3.938 kB / 0.5431 GB, free: 67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008178/0.5408, allocations: 263.7 kB / 0.5434 GB, free: 66.74 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.0006305/0.5414, allocations: 406.2 kB / 0.5438 GB, free: 66.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000845/0.5423, allocations: 0.762 MB / 0.5445 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5423, allocations: 0 / 0.5445 GB, free: 65.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.5428, allocations: 0.6166 MB / 0.5451 GB, free: 64.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.5434, allocations: 97.88 kB / 0.5452 GB, free: 64.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.5453, allocations: 1.913 MB / 0.5471 GB, free: 62.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5456, allocations: 0.9991 MB / 0.5481 GB, free: 61.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.5457, allocations: 39.42 kB / 0.5481 GB, free: 61.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5457, allocations: 0 / 0.5481 GB, free: 61.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01634/0.5621, allocations: 16.95 MB / 0.5647 GB, free: 44.77 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches