Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009919/0.0009919, allocations: 200 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 245.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007163/0.0007164, allocations: 101.9 kB / 297.4 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.00021, allocations: 8 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09387/0.2934, allocations: 85.91 MB / 494.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.2936, allocations: 91.94 kB / 494.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.258/0.5516, allocations: 21.59 MB / 0.5042 GB, free: 87.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5516, allocations: 0 / 0.5042 GB, free: 87.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001573/0.5518, allocations: 26.69 kB / 0.5042 GB, free: 87.5 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00389/0.5557, allocations: 1.544 MB / 0.5057 GB, free: 86.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5557, allocations: 9.531 kB / 0.5057 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.5566, allocations: 226.2 kB / 0.5059 GB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.5584, allocations: 0.9927 MB / 0.5069 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.5584, allocations: 78.28 kB / 0.507 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.5586, allocations: 108.2 kB / 0.5071 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.5611, allocations: 1.534 MB / 0.5086 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.5612, allocations: 2.984 kB / 0.5086 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.5613, allocations: 51.45 kB / 0.5086 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.65e-05/0.5614, allocations: 42.67 kB / 0.5087 GB, free: 86.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.5638, allocations: 1.382 MB / 0.51 GB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005982/0.5698, allocations: 5.007 MB / 0.5149 GB, free: 84.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.5712, allocations: 1.456 MB / 0.5163 GB, free: 83.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009921/0.5722, allocations: 0.7431 MB / 0.5171 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.5723, allocations: 13.28 kB / 0.5171 GB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007963/0.5731, allocations: 0.6219 MB / 0.5177 GB, free: 83.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.905e-06/0.5731, allocations: 0 / 0.5177 GB, free: 83.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005193/0.5783, allocations: 2.519 MB / 0.5201 GB, free: 82.53 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.5784, allocations: 88.91 kB / 0.5202 GB, free: 82.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.5794, allocations: 0.9389 MB / 0.5211 GB, free: 82.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.5795, allocations: 38.58 kB / 0.5212 GB, free: 82.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.5799, allocations: 0.5154 MB / 0.5217 GB, free: 81.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.58, allocations: 237.2 kB / 0.5219 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.5801, allocations: 11.31 kB / 0.5219 GB, free: 81.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.5801, allocations: 338.1 kB / 0.5222 GB, free: 81.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/0.5807, allocations: 421.5 kB / 0.5226 GB, free: 80.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.5813, allocations: 0.5532 MB / 0.5232 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.5825, allocations: 0.956 MB / 0.5241 GB, free: 80.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5825, allocations: 0 / 0.5241 GB, free: 80.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001812/0.5843, allocations: 1.303 MB / 0.5254 GB, free: 79.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5844, allocations: 7.094 kB / 0.5254 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5844, allocations: 3.969 kB / 0.5254 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/0.5852, allocations: 404.6 kB / 0.5258 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.5856, allocations: 118.4 kB / 0.5259 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.5897, allocations: 4.135 MB / 0.5299 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.5904, allocations: 82.8 kB / 0.53 GB, free: 76.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.5905, allocations: 24 kB / 0.53 GB, free: 76.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006835/0.5912, allocations: 499.7 kB / 0.5305 GB, free: 76.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5913, allocations: 94.81 kB / 0.5306 GB, free: 76.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.5915, allocations: 119.6 kB / 0.5307 GB, free: 76.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5915, allocations: 8 kB / 0.5307 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5915, allocations: 0 / 0.5307 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5915, allocations: 3.703 kB / 0.5307 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.5947, allocations: 2.632 MB / 0.5333 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5948, allocations: 0 / 0.5333 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.5951, allocations: 85.16 kB / 0.5334 GB, free: 74.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006956/0.5958, allocations: 390.9 kB / 0.5338 GB, free: 73.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.5959, allocations: 19.94 kB / 0.5338 GB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.5998, allocations: 4.089 MB / 0.5378 GB, free: 70.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5998, allocations: 0 / 0.5378 GB, free: 70.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.6023, allocations: 1.977 MB / 0.5397 GB, free: 68.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.6028, allocations: 281.5 kB / 0.54 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6029, allocations: 19.94 kB / 0.54 GB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.6034, allocations: 51.09 kB / 0.54 GB, free: 67.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.6036, allocations: 81.56 kB / 0.5401 GB, free: 67.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.6036, allocations: 19.52 kB / 0.5401 GB, free: 67.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007332/0.6043, allocations: 0.6694 MB / 0.5408 GB, free: 67.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6044, allocations: 0 / 0.5408 GB, free: 67.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008754/0.6052, allocations: 358.6 kB / 0.5411 GB, free: 67.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.6054, allocations: 141.7 kB / 0.5413 GB, free: 66.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.6072, allocations: 1.295 MB / 0.5425 GB, free: 65.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6072, allocations: 0 / 0.5425 GB, free: 65.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009808/0.6082, allocations: 0.8087 MB / 0.5433 GB, free: 65.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6092, allocations: 232.5 kB / 0.5435 GB, free: 64.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.6125, allocations: 2.867 MB / 0.5463 GB, free: 61.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.6132, allocations: 1.362 MB / 0.5477 GB, free: 60.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.6134, allocations: 59.42 kB / 0.5477 GB, free: 60.5 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6134, allocations: 0 / 0.5477 GB, free: 60.5 MB / 378.7 MB Notification: Performance of Templates: time 0.02103/0.6345, allocations: 21.83 MB / 0.569 GB, free: 38.92 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches