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.00142/0.00142, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.844/1.844, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001108/0.001108, allocations: 93.73 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.334, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4692, allocations: 86.39 MB / 460.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4695, allocations: 83.95 kB / 461 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1504/0.6199, allocations: 36.59 MB / 497.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.62, allocations: 0 / 497.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.62, allocations: 16 kB / 497.6 MB, free: 5.609 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.003107/0.6232, allocations: 1.399 MB / 499 MB, free: 4.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6232, allocations: 8.031 kB / 499 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.6234, allocations: 122.5 kB / 499.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.6249, allocations: 0.7305 MB / 499.9 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.625, allocations: 12.44 kB / 499.9 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.6251, allocations: 24 kB / 499.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.6259, allocations: 310.6 kB / 0.4885 GB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.6259, allocations: 0 / 0.4885 GB, free: 2.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.626, allocations: 15.98 kB / 0.4885 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.626, allocations: 4 kB / 0.4885 GB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.6267, allocations: 229.8 kB / 0.4887 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.6294, allocations: 1.185 MB / 0.4899 GB, free: 1.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.63, allocations: 234.5 kB / 0.4901 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.269/0.899, allocations: 1.274 MB / 0.4913 GB, free: 93.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.8991, allocations: 36.28 kB / 0.4914 GB, free: 92.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 3.757e-06/0.8991, allocations: 0 / 0.4914 GB, free: 92.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.005633/0.9047, allocations: 2.071 MB / 0.4934 GB, free: 91.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.9048, allocations: 117.2 kB / 0.4935 GB, free: 91.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.9063, allocations: 0.7807 MB / 0.4943 GB, free: 91.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/0.9064, allocations: 34.31 kB / 0.4943 GB, free: 91.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.9067, allocations: 348.7 kB / 0.4946 GB, free: 91.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.9069, allocations: 135.4 kB / 0.4948 GB, free: 91.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.9069, allocations: 3.906 kB / 0.4948 GB, free: 91.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.907, allocations: 324.1 kB / 0.4951 GB, free: 90.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.9074, allocations: 122.2 kB / 0.4952 GB, free: 90.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.9078, allocations: 163.2 kB / 0.4953 GB, free: 90.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.9083, allocations: 164.1 kB / 0.4955 GB, free: 90.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9083, allocations: 0 / 0.4955 GB, free: 90.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001337/0.9097, allocations: 467.8 kB / 0.4959 GB, free: 90.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.048e-05/0.9097, allocations: 37.73 kB / 0.496 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/0.9098, allocations: 19.02 kB / 0.496 GB, free: 90.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003471/0.9102, allocations: 67.98 kB / 0.4961 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.9105, allocations: 36.78 kB / 0.4961 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.9132, allocations: 3.014 MB / 0.499 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/0.914, allocations: 17.48 kB / 0.4991 GB, free: 88.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.9141, allocations: 18.62 kB / 0.4991 GB, free: 88.08 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.0005399/0.9147, allocations: 255.8 kB / 0.4993 GB, free: 87.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.9149, allocations: 117.6 kB / 0.4994 GB, free: 87.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.9171, allocations: 0.6882 MB / 0.5001 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.9172, allocations: 5.812 kB / 0.5001 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.9172, allocations: 2.469 kB / 0.5001 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.9172, allocations: 0 / 0.5001 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.9184, allocations: 0.6096 MB / 0.5007 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-05/0.9185, allocations: 10.97 kB / 0.5007 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.9188, allocations: 37.64 kB / 0.5008 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.9191, allocations: 73.8 kB / 0.5008 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/0.9192, allocations: 15.64 kB / 0.5008 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.9217, allocations: 3.013 MB / 0.5038 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9218, allocations: 0 / 0.5038 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.9239, allocations: 0.8549 MB / 0.5046 GB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.9246, allocations: 283.9 kB / 0.5049 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.9248, allocations: 8.094 kB / 0.5049 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.9253, allocations: 16.02 kB / 0.5049 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9254, allocations: 29.31 kB / 0.5049 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.9255, allocations: 21.94 kB / 0.505 GB, free: 84.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.9266, allocations: 0.6188 MB / 0.5056 GB, free: 84.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9267, allocations: 0.9688 kB / 0.5056 GB, free: 84.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001454/0.9281, allocations: 257.4 kB / 0.5058 GB, free: 84.36 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.0009526/0.9291, allocations: 404.2 kB / 0.5062 GB, free: 84.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.9307, allocations: 0.7661 MB / 0.5069 GB, free: 83.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9307, allocations: 0 / 0.5069 GB, free: 83.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008794/0.9316, allocations: 0.6156 MB / 0.5075 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007326/0.9323, allocations: 85.45 kB / 0.5076 GB, free: 83.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.9355, allocations: 1.903 MB / 0.5095 GB, free: 82.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.936, allocations: 1.015 MB / 0.5105 GB, free: 81.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.9362, allocations: 46.16 kB / 0.5105 GB, free: 81.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.674e-06/0.9362, allocations: 0 / 0.5105 GB, free: 81.79 MB / 378.7 MB Notification: Performance of Templates: time 0.02677/0.963, allocations: 16.28 MB / 0.5264 GB, free: 79.59 MB / 378.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