Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001191/0.001191, allocations: 179.7 kB / 17.01 MB, free: 5.125 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.418/1.418, allocations: 205.4 MB / 223.1 MB, free: 9.039 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.0007922/0.0007922, allocations: 84.17 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2485, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3537, allocations: 86.37 MB / 462.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/0.3542, allocations: 75.95 kB / 462.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09848/0.4527, allocations: 36.6 MB / 498.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.4527, allocations: 0 / 498.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.517e-05/0.4528, allocations: 20 kB / 498.9 MB, free: 5.484 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.003068/0.4559, allocations: 1.391 MB / 0.4885 GB, free: 4.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.456, allocations: 12.03 kB / 0.4885 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.4562, allocations: 122.5 kB / 0.4887 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4575, allocations: 0.7305 MB / 0.4894 GB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4575, allocations: 12.44 kB / 0.4894 GB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.089e-05/0.4576, allocations: 24 kB / 0.4894 GB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.4582, allocations: 318.5 kB / 0.4897 GB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4582, allocations: 0 / 0.4897 GB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.4582, allocations: 8 kB / 0.4897 GB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4583, allocations: 8 kB / 0.4897 GB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.4587, allocations: 225.8 kB / 0.4899 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.4607, allocations: 1.185 MB / 0.4911 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.4612, allocations: 234.5 kB / 0.4913 GB, free: 1.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1892/0.6504, allocations: 1.268 MB / 0.4926 GB, free: 93.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.6505, allocations: 41.36 kB / 0.4926 GB, free: 93.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.447e-06/0.6505, allocations: 0 / 0.4926 GB, free: 93.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003937/0.6544, allocations: 2.073 MB / 0.4946 GB, free: 92.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.6545, allocations: 112.3 kB / 0.4947 GB, free: 91.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.6554, allocations: 0.7829 MB / 0.4955 GB, free: 91.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6555, allocations: 31.11 kB / 0.4955 GB, free: 91.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6557, allocations: 356.8 kB / 0.4959 GB, free: 91.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.6558, allocations: 136.3 kB / 0.496 GB, free: 91.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.6558, allocations: 3.906 kB / 0.496 GB, free: 91.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.6559, allocations: 316.3 kB / 0.4963 GB, free: 91.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.6561, allocations: 129 kB / 0.4964 GB, free: 91.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.6564, allocations: 157.3 kB / 0.4966 GB, free: 91.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.6567, allocations: 171.5 kB / 0.4967 GB, free: 91.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6567, allocations: 1.531 kB / 0.4967 GB, free: 91.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008648/0.6576, allocations: 0.5224 MB / 0.4973 GB, free: 91.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.6576, allocations: 41.39 kB / 0.4973 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.6576, allocations: 14.62 kB / 0.4973 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.6579, allocations: 69.52 kB / 0.4974 GB, free: 91.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.6581, allocations: 38.67 kB / 0.4974 GB, free: 91.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.6601, allocations: 3.009 MB / 0.5004 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.6604, allocations: 12.94 kB / 0.5004 GB, free: 88.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.6605, allocations: 26.23 kB / 0.5004 GB, free: 88.38 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.0004045/0.6609, allocations: 253.3 kB / 0.5006 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6611, allocations: 120.5 kB / 0.5007 GB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6625, allocations: 0.6827 MB / 0.5014 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6625, allocations: 6.625 kB / 0.5014 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6625, allocations: 3.875 kB / 0.5014 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6625, allocations: 0 / 0.5014 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.6632, allocations: 0.6063 MB / 0.502 GB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/0.6633, allocations: 16.92 kB / 0.502 GB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.6635, allocations: 39.02 kB / 0.5021 GB, free: 87.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/0.6637, allocations: 68.62 kB / 0.5021 GB, free: 87.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.6637, allocations: 21.84 kB / 0.5022 GB, free: 87.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6656, allocations: 3.008 MB / 0.5051 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6656, allocations: 0 / 0.5051 GB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.6668, allocations: 0.8544 MB / 0.5059 GB, free: 84.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.6672, allocations: 286.3 kB / 0.5062 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.28e-05/0.6673, allocations: 9.531 kB / 0.5062 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.6676, allocations: 15.83 kB / 0.5062 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.6677, allocations: 31.19 kB / 0.5063 GB, free: 84.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.6678, allocations: 17.78 kB / 0.5063 GB, free: 84.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007675/0.6685, allocations: 0.6223 MB / 0.5069 GB, free: 84.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6685, allocations: 4.438 kB / 0.5069 GB, free: 84.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001025/0.6696, allocations: 255.5 kB / 0.5071 GB, free: 84.65 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.0006606/0.6702, allocations: 403.1 kB / 0.5075 GB, free: 84.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.6711, allocations: 0.762 MB / 0.5083 GB, free: 84.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6712, allocations: 0 / 0.5083 GB, free: 84.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005071/0.6717, allocations: 0.6218 MB / 0.5089 GB, free: 83.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.6721, allocations: 93.12 kB / 0.5089 GB, free: 83.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.674, allocations: 1.859 MB / 0.5108 GB, free: 82.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.6744, allocations: 1.02 MB / 0.5118 GB, free: 82.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002334/0.6746, allocations: 68.8 kB / 0.5118 GB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.6747, allocations: 35.34 kB / 0.5119 GB, free: 82.11 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6747, allocations: 0 / 0.5119 GB, free: 82.11 MB / 378.7 MB Notification: Performance of Templates: time 0.01435/0.689, allocations: 8.966 MB / 0.5206 GB, free: 81.37 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches