Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.0007926, allocations: 89.3 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.82e-05, allocations: 0 / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4715, allocations: 87.63 MB / 475.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.4719, allocations: 77.61 kB / 475.2 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09612/0.568, allocations: 37.49 MB / 0.5006 GB, free: 1.547 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.568, allocations: 7.938 kB / 0.5007 GB, free: 1.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.5681, allocations: 16.19 kB / 0.5007 GB, free: 1.523 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.002086/0.5702, allocations: 1.186 MB / 0.5018 GB, free: 292 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5702, allocations: 8.031 kB / 0.5018 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5704, allocations: 126.4 kB / 0.502 GB, free: 156 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5714, allocations: 0.715 MB / 0.5027 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.5715, allocations: 8 kB / 0.5027 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.5715, allocations: 12 kB / 0.5027 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003659/0.5719, allocations: 204.9 kB / 0.5029 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.5724, allocations: 265.8 kB / 0.5031 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5724, allocations: 3.984 kB / 0.5031 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.5724, allocations: 0 / 0.5031 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5724, allocations: 7.984 kB / 0.5031 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.5743, allocations: 1.136 MB / 0.5042 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.5746, allocations: 218.5 kB / 0.5044 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004093/0.575, allocations: 276.8 kB / 0.5047 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.5765, allocations: 1.278 MB / 0.506 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5766, allocations: 34.56 kB / 0.506 GB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 1.764e-06/0.5766, allocations: 0 / 0.506 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002507/0.5791, allocations: 1.163 MB / 0.5071 GB, free: 10.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.5792, allocations: 114.8 kB / 0.5072 GB, free: 10.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.58, allocations: 0.709 MB / 0.5079 GB, free: 9.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.5801, allocations: 25.7 kB / 0.508 GB, free: 9.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.5804, allocations: 357.6 kB / 0.5083 GB, free: 9.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.961e-05/0.5805, allocations: 130 kB / 0.5084 GB, free: 9.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.5805, allocations: 0 / 0.5084 GB, free: 9.039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5806, allocations: 322 kB / 0.5087 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.5808, allocations: 96.27 kB / 0.5088 GB, free: 8.621 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.581, allocations: 138.8 kB / 0.509 GB, free: 8.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.5813, allocations: 147.8 kB / 0.5091 GB, free: 8.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5813, allocations: 0 / 0.5091 GB, free: 8.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00084/0.5822, allocations: 461.9 kB / 0.5095 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.5822, allocations: 46.94 kB / 0.5096 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/0.5823, allocations: 11.98 kB / 0.5096 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002171/0.5825, allocations: 65.69 kB / 0.5097 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.5827, allocations: 43.91 kB / 0.5097 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/0.585, allocations: 2.891 MB / 0.5125 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.5854, allocations: 20.03 kB / 0.5125 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/0.5854, allocations: 20 kB / 0.5126 GB, free: 4.527 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.0001618/0.5856, allocations: 142.6 kB / 0.5127 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.5858, allocations: 122.5 kB / 0.5128 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.5872, allocations: 0.6014 MB / 0.5134 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5873, allocations: 8 kB / 0.5134 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5873, allocations: 7.938 kB / 0.5134 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5873, allocations: 3.984 kB / 0.5134 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007848/0.5881, allocations: 0.5639 MB / 0.514 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.5881, allocations: 15.98 kB / 0.514 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5883, allocations: 31.98 kB / 0.514 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001807/0.5885, allocations: 69.67 kB / 0.5141 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.5885, allocations: 8 kB / 0.5141 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.5908, allocations: 2.898 MB / 0.5169 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5908, allocations: 0 / 0.5169 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.5921, allocations: 0.7634 MB / 0.5177 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.5925, allocations: 283.5 kB / 0.5179 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.5926, allocations: 8.109 kB / 0.5179 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5929, allocations: 11.94 kB / 0.5179 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.593, allocations: 35.91 kB / 0.518 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.593, allocations: 16 kB / 0.518 GB, free: 14.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008081/0.5938, allocations: 0.5477 MB / 0.5185 GB, free: 14.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5938, allocations: 0 / 0.5185 GB, free: 14.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001051/0.5949, allocations: 235.8 kB / 0.5188 GB, free: 13.83 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.0008078/0.5957, allocations: 414.6 kB / 0.5192 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009966/0.5967, allocations: 0.6939 MB / 0.5198 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5967, allocations: 4 kB / 0.5198 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.5973, allocations: 0.5796 MB / 0.5204 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.5978, allocations: 95.84 kB / 0.5205 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5997, allocations: 1.057 MB / 0.5215 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.6004, allocations: 1.019 MB / 0.5225 GB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.6007, allocations: 72.52 kB / 0.5226 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.6008, allocations: 35.44 kB / 0.5226 GB, free: 9.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6008, allocations: 0 / 0.5226 GB, free: 9.688 MB / 410.7 MB Notification: Performance of Templates: time 0.01509/0.6159, allocations: 7.529 MB / 0.53 GB, free: 2.188 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches