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.001442/0.001442, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 87.61 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.398e-05/1.4e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08581, allocations: 47.6 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4065, allocations: 85.86 MB / 448.9 MB, free: 9.945 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.4068, allocations: 71.14 kB / 449 MB, free: 9.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08761/0.4944, allocations: 35.79 MB / 484.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4945, allocations: 0 / 484.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.4945, allocations: 16 kB / 484.8 MB, free: 11.93 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.001679/0.4962, allocations: 1.175 MB / 486 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4962, allocations: 8.031 kB / 486 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.4964, allocations: 134.4 kB / 486.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.4974, allocations: 0.7227 MB / 486.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4974, allocations: 8 kB / 486.9 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.4974, allocations: 16 kB / 486.9 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000349/0.4978, allocations: 197 kB / 487.1 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.4982, allocations: 261.8 kB / 487.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4982, allocations: 0 / 487.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.4983, allocations: 0 / 487.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4983, allocations: 16 kB / 487.3 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.4999, allocations: 1.128 MB / 488.5 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.5002, allocations: 214.5 kB / 488.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.5007, allocations: 281.8 kB / 488.9 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.502, allocations: 1.274 MB / 490.2 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.5021, allocations: 42.48 kB / 490.3 MB, free: 6.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 1.914e-06/0.5021, allocations: 0 / 490.3 MB, free: 6.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.002274/0.5044, allocations: 1.153 MB / 491.4 MB, free: 4.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.5044, allocations: 114.8 kB / 491.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.5053, allocations: 0.709 MB / 492.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.5054, allocations: 29.7 kB / 492.3 MB, free: 3.934 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.5057, allocations: 357.6 kB / 492.6 MB, free: 3.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5058, allocations: 130 kB / 492.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.5058, allocations: 0 / 492.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5059, allocations: 321.9 kB / 493.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5061, allocations: 104.3 kB / 493.2 MB, free: 3.027 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.5063, allocations: 126.8 kB / 493.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5066, allocations: 140.1 kB / 493.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5066, allocations: 0 / 493.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007898/0.5074, allocations: 473.8 kB / 493.9 MB, free: 2.281 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.5074, allocations: 33.7 kB / 493.9 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.5075, allocations: 15.98 kB / 493.9 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.5077, allocations: 69.72 kB / 494 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.5079, allocations: 39.97 kB / 494 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.5102, allocations: 2.898 MB / 496.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.5105, allocations: 4 kB / 496.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.5106, allocations: 19.98 kB / 497 MB, free: 14.96 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.0001485/0.5107, allocations: 150.6 kB / 497.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5109, allocations: 130.4 kB / 497.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.5123, allocations: 0.601 MB / 497.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5123, allocations: 4 kB / 497.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5123, allocations: 7.938 kB / 497.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5124, allocations: 0 / 497.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.5131, allocations: 0.5562 MB / 498.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/0.5131, allocations: 15.98 kB / 498.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.5133, allocations: 47.91 kB / 498.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/0.5135, allocations: 61.81 kB / 498.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.5136, allocations: 19.98 kB / 498.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.5156, allocations: 2.89 MB / 0.4897 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5156, allocations: 0 / 0.4897 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5168, allocations: 0.7673 MB / 0.4904 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/0.5173, allocations: 283.5 kB / 0.4907 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5175, allocations: 7.953 kB / 0.4907 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.5177, allocations: 8 kB / 0.4907 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5179, allocations: 31.95 kB / 0.4907 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.5179, allocations: 20.05 kB / 0.4908 GB, free: 9.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007012/0.5186, allocations: 0.5438 MB / 0.4913 GB, free: 8.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5186, allocations: 0 / 0.4913 GB, free: 8.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.5196, allocations: 235.8 kB / 0.4915 GB, free: 8.25 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 () * 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.0007674/0.5204, allocations: 419.1 kB / 0.4919 GB, free: 7.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009424/0.5214, allocations: 0.7127 MB / 0.4926 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5214, allocations: 0 / 0.4926 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.5219, allocations: 0.5757 MB / 0.4932 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.5223, allocations: 88.72 kB / 0.4933 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.524, allocations: 1.068 MB / 0.4943 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.5246, allocations: 1.019 MB / 0.4953 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.5248, allocations: 68.56 kB / 0.4954 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.5249, allocations: 35.44 kB / 0.4954 GB, free: 4.094 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5249, allocations: 0 / 0.4954 GB, free: 4.094 MB / 378.7 MB Notification: Performance of Templates: time 0.01473/0.5396, allocations: 7.505 MB / 0.5027 GB, free: 12.58 MB / 394.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