Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 205.4 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.625/1.625, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009657/0.0009658, allocations: 97.75 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002752, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2753, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3791, allocations: 81.29 MB / 490.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.3793, allocations: 75.95 kB / 490.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02502/0.4044, allocations: 9.153 MB / 499.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4044, allocations: 0 / 499.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.471e-05/0.4045, allocations: 15.98 kB / 499.9 MB, free: 0.9453 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001668/0.4062, allocations: 0.8106 MB / 0.489 GB, free: 84 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4062, allocations: 8.031 kB / 0.489 GB, free: 76 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.4067, allocations: 104.2 kB / 0.4891 GB, free: 15.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.4072, allocations: 381.8 kB / 0.4895 GB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.4073, allocations: 41.69 kB / 0.4895 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.4074, allocations: 52.28 kB / 0.4895 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.4084, allocations: 0.5465 MB / 0.4901 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.4084, allocations: 192 / 0.4901 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.4085, allocations: 23.94 kB / 0.4901 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.4085, allocations: 15.98 kB / 0.4901 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009436/0.4095, allocations: 467.6 kB / 0.4906 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.4126, allocations: 2.061 MB / 0.4926 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.4136, allocations: 0.6488 MB / 0.4932 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.4142, allocations: 413.8 kB / 0.4936 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.4142, allocations: 4.562 kB / 0.4936 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4143, allocations: 39.12 kB / 0.4936 GB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.015e-06/0.4143, allocations: 0 / 0.4936 GB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00462/0.4189, allocations: 2.009 MB / 0.4956 GB, free: 8.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.419, allocations: 55.97 kB / 0.4957 GB, free: 8.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.4195, allocations: 353.7 kB / 0.496 GB, free: 8.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.4196, allocations: 33.7 kB / 0.496 GB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.4198, allocations: 229.2 kB / 0.4962 GB, free: 8.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.42, allocations: 201 kB / 0.4964 GB, free: 8.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.42, allocations: 12 kB / 0.4964 GB, free: 8.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.4202, allocations: 362.7 kB / 0.4968 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.4206, allocations: 173 kB / 0.497 GB, free: 7.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.421, allocations: 215.8 kB / 0.4972 GB, free: 7.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.4217, allocations: 392.8 kB / 0.4975 GB, free: 6.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4217, allocations: 0 / 0.4975 GB, free: 6.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001337/0.4231, allocations: 0.6812 MB / 0.4982 GB, free: 6.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4231, allocations: 4 kB / 0.4982 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4231, allocations: 0 / 0.4982 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007859/0.4239, allocations: 255.2 kB / 0.4985 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.4242, allocations: 63.91 kB / 0.4985 GB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2256/0.6498, allocations: 6.774 MB / 0.5051 GB, free: 92.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.6504, allocations: 25.84 kB / 0.5052 GB, free: 92.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/0.6505, allocations: 15 kB / 0.5052 GB, free: 92.99 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: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003937/0.6509, allocations: 173.6 kB / 0.5053 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.6511, allocations: 52.47 kB / 0.5054 GB, free: 92.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.6513, allocations: 63.08 kB / 0.5054 GB, free: 92.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.6513, allocations: 6.703 kB / 0.5054 GB, free: 92.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.6513, allocations: 3.094 kB / 0.5055 GB, free: 92.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6513, allocations: 3.891 kB / 0.5055 GB, free: 92.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/0.6543, allocations: 1.351 MB / 0.5068 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.6544, allocations: 0 / 0.5068 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.6547, allocations: 62.08 kB / 0.5068 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007061/0.6554, allocations: 258.3 kB / 0.5071 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.6554, allocations: 12 kB / 0.5071 GB, free: 92.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006226/0.6617, allocations: 6.787 MB / 0.5137 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6617, allocations: 2.547 kB / 0.5137 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.6641, allocations: 1.044 MB / 0.5147 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.6644, allocations: 161.1 kB / 0.5149 GB, free: 86.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.6645, allocations: 11.53 kB / 0.5149 GB, free: 86.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.6648, allocations: 22.91 kB / 0.5149 GB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.665, allocations: 50.61 kB / 0.515 GB, free: 86.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.6651, allocations: 18.16 kB / 0.515 GB, free: 86.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.6654, allocations: 252.1 kB / 0.5152 GB, free: 86.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6654, allocations: 0 / 0.5152 GB, free: 86.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00116/0.6666, allocations: 172.8 kB / 0.5154 GB, free: 86.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.6668, allocations: 122.7 kB / 0.5155 GB, free: 86.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.6684, allocations: 1.041 MB / 0.5165 GB, free: 85.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.6684, allocations: 0 / 0.5165 GB, free: 85.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6695, allocations: 0.8519 MB / 0.5174 GB, free: 85.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.6701, allocations: 83.05 kB / 0.5174 GB, free: 85.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.6729, allocations: 1.526 MB / 0.5189 GB, free: 84.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.6735, allocations: 0.8799 MB / 0.5198 GB, free: 83.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.6738, allocations: 51.77 kB / 0.5198 GB, free: 83.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.6739, allocations: 36.39 kB / 0.5199 GB, free: 83.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6739, allocations: 0 / 0.5199 GB, free: 83.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01512/0.689, allocations: 7.931 MB / 0.5276 GB, free: 80.91 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches