Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001602/0.001601, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.93e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.0948, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4119/0.5067, allocations: 86.28 MB / 455.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5071, allocations: 74.02 kB / 455.4 MB, free: 7.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1586/0.6657, allocations: 36.5 MB / 491.9 MB, free: 4.305 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6658, allocations: 0 / 491.9 MB, free: 4.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.6658, allocations: 16 kB / 492 MB, free: 4.289 MB / 362.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.002634/0.6685, allocations: 1.175 MB / 493.1 MB, free: 3.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.6686, allocations: 8.031 kB / 493.1 MB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.6689, allocations: 130.4 kB / 493.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.6705, allocations: 0.7188 MB / 494 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.6706, allocations: 16.44 kB / 494 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.6707, allocations: 28 kB / 494 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008102/0.6715, allocations: 290.7 kB / 494.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6715, allocations: 0 / 494.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.6716, allocations: 12 kB / 494.3 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.6716, allocations: 7.984 kB / 494.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.6722, allocations: 205.8 kB / 494.5 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.6754, allocations: 1.189 MB / 495.7 MB, free: 360 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/0.676, allocations: 234.4 kB / 496 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.6768, allocations: 288.9 kB / 496.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/0.6789, allocations: 1.274 MB / 497.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.679, allocations: 38.81 kB / 497.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.547e-06/0.6791, allocations: 0 / 497.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003561/0.6826, allocations: 1.247 MB / 498.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.6828, allocations: 118.8 kB / 498.9 MB, free: 12.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.6843, allocations: 0.7692 MB / 499.7 MB, free: 12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.224e-05/0.6844, allocations: 33.7 kB / 499.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.6848, allocations: 344.1 kB / 0.4883 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.685, allocations: 137.9 kB / 0.4885 GB, free: 11.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.685, allocations: 11.94 kB / 0.4885 GB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6852, allocations: 322.8 kB / 0.4888 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.6855, allocations: 104.3 kB / 0.4889 GB, free: 11.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.6859, allocations: 150.8 kB / 0.489 GB, free: 10.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.6863, allocations: 149.7 kB / 0.4892 GB, free: 10.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6863, allocations: 0 / 0.4892 GB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001295/0.6876, allocations: 436.7 kB / 0.4896 GB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.6877, allocations: 41.69 kB / 0.4896 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/0.6878, allocations: 15.98 kB / 0.4896 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003584/0.6882, allocations: 69.62 kB / 0.4897 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.6886, allocations: 36.02 kB / 0.4897 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.6919, allocations: 2.994 MB / 0.4927 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.6927, allocations: 24.02 kB / 0.4927 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.6928, allocations: 16 kB / 0.4927 GB, free: 6.816 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 () * 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.0002137/0.693, allocations: 162.5 kB / 0.4929 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.6932, allocations: 118.6 kB / 0.493 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.6956, allocations: 0.653 MB / 0.4936 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.6956, allocations: 4 kB / 0.4936 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6956, allocations: 0 / 0.4936 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6957, allocations: 0 / 0.4936 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.697, allocations: 0.6121 MB / 0.4942 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.697, allocations: 11.98 kB / 0.4942 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.6974, allocations: 31.98 kB / 0.4942 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003332/0.6977, allocations: 77.62 kB / 0.4943 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.6978, allocations: 15.98 kB / 0.4943 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.7011, allocations: 2.99 MB / 0.4973 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.7012, allocations: 7.938 kB / 0.4973 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.7032, allocations: 0.8087 MB / 0.4981 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.704, allocations: 283.5 kB / 0.4983 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.7042, allocations: 8 kB / 0.4983 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.7047, allocations: 15.98 kB / 0.4983 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7049, allocations: 27.97 kB / 0.4984 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.705, allocations: 23.98 kB / 0.4984 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.7063, allocations: 0.604 MB / 0.499 GB, free: 15.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7063, allocations: 0 / 0.499 GB, free: 15.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001486/0.7078, allocations: 255.8 kB / 0.4992 GB, free: 15.72 MB / 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.001047/0.7089, allocations: 405.6 kB / 0.4996 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.7104, allocations: 0.7258 MB / 0.5003 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7104, allocations: 0 / 0.5003 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.7114, allocations: 0.6089 MB / 0.5009 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.7122, allocations: 88.22 kB / 0.501 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.715, allocations: 1.114 MB / 0.5021 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.7158, allocations: 1.019 MB / 0.5031 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.716, allocations: 39.42 kB / 0.5031 GB, free: 11.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.716, allocations: 0 / 0.5031 GB, free: 11.53 MB / 394.7 MB Notification: Performance of Templates: time 0.03286/0.7489, allocations: 16.27 MB / 0.519 GB, free: 11.24 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches