Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001394, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 226.5 MB / 245.4 MB, free: 8.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007976/0.0007974, allocations: 105.5 kB / 297.5 MB, free: 6.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002699, allocations: 11.98 kB / 358.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2341, allocations: 51.29 MB / 409.4 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.34, allocations: 85.92 MB / 495.3 MB, free: 5.652 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.3404, allocations: 91.94 kB / 495.4 MB, free: 5.562 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2515/0.5919, allocations: 21.59 MB / 0.5049 GB, free: 87.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5919, allocations: 0 / 0.5049 GB, free: 87.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001515/0.5921, allocations: 26.12 kB / 0.5049 GB, free: 87.45 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.003476/0.5955, allocations: 1.549 MB / 0.5064 GB, free: 86.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5956, allocations: 9.281 kB / 0.5064 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.5963, allocations: 226.2 kB / 0.5066 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.5978, allocations: 0.9887 MB / 0.5076 GB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/0.5979, allocations: 80.52 kB / 0.5077 GB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.5981, allocations: 108.8 kB / 0.5078 GB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.6005, allocations: 1.537 MB / 0.5093 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.6006, allocations: 2.031 kB / 0.5093 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.6007, allocations: 50.56 kB / 0.5093 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.6007, allocations: 44.69 kB / 0.5094 GB, free: 86.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.6033, allocations: 1.379 MB / 0.5107 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.6095, allocations: 5.007 MB / 0.5156 GB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.6108, allocations: 1.457 MB / 0.517 GB, free: 83.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009504/0.6118, allocations: 0.7383 MB / 0.5178 GB, free: 83.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.6118, allocations: 10.27 kB / 0.5178 GB, free: 83.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007765/0.6126, allocations: 0.6211 MB / 0.5184 GB, free: 83.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.535e-06/0.6126, allocations: 3.75 kB / 0.5184 GB, free: 83.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.005071/0.6177, allocations: 2.518 MB / 0.5208 GB, free: 82.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.6178, allocations: 91.72 kB / 0.5209 GB, free: 82.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6191, allocations: 0.9338 MB / 0.5218 GB, free: 82.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/0.6192, allocations: 43.86 kB / 0.5219 GB, free: 81.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.6197, allocations: 0.5186 MB / 0.5224 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.6199, allocations: 241.6 kB / 0.5226 GB, free: 81.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.6199, allocations: 8 kB / 0.5226 GB, free: 81.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.62, allocations: 335.1 kB / 0.5229 GB, free: 81.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.6207, allocations: 428.4 kB / 0.5233 GB, free: 80.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007017/0.6214, allocations: 0.5476 MB / 0.5239 GB, free: 80.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.6226, allocations: 0.9586 MB / 0.5248 GB, free: 80.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6227, allocations: 0 / 0.5248 GB, free: 80.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00182/0.6245, allocations: 1.301 MB / 0.5261 GB, free: 79.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6245, allocations: 7.5 kB / 0.5261 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6245, allocations: 7.969 kB / 0.5261 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007583/0.6253, allocations: 399.5 kB / 0.5265 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.6257, allocations: 114.4 kB / 0.5266 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.6297, allocations: 4.135 MB / 0.5306 GB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.6304, allocations: 88.72 kB / 0.5307 GB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.6304, allocations: 21.47 kB / 0.5307 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.0006896/0.6311, allocations: 498.9 kB / 0.5312 GB, free: 76.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.6313, allocations: 94.81 kB / 0.5313 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.6314, allocations: 123.5 kB / 0.5314 GB, free: 76.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.6315, allocations: 8 kB / 0.5314 GB, free: 76.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6315, allocations: 0 / 0.5314 GB, free: 76.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6315, allocations: 3.656 kB / 0.5314 GB, free: 76.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.6346, allocations: 2.623 MB / 0.534 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6347, allocations: 4 kB / 0.534 GB, free: 74.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.635, allocations: 87.73 kB / 0.5341 GB, free: 74.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006674/0.6357, allocations: 386 kB / 0.5344 GB, free: 73.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.6358, allocations: 19.23 kB / 0.5345 GB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.6397, allocations: 4.092 MB / 0.5385 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6397, allocations: 0 / 0.5385 GB, free: 70.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.6422, allocations: 1.974 MB / 0.5404 GB, free: 68.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.6427, allocations: 288 kB / 0.5407 GB, free: 68.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.6428, allocations: 23.69 kB / 0.5407 GB, free: 68.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.6432, allocations: 47.02 kB / 0.5407 GB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.6434, allocations: 78.98 kB / 0.5408 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.6435, allocations: 26 kB / 0.5408 GB, free: 68.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007965/0.6443, allocations: 0.6697 MB / 0.5415 GB, free: 67.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6443, allocations: 0 / 0.5415 GB, free: 67.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.6453, allocations: 358.5 kB / 0.5418 GB, free: 67.12 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.0001959/0.6455, allocations: 144.4 kB / 0.542 GB, free: 66.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.6472, allocations: 1.293 MB / 0.5432 GB, free: 65.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6473, allocations: 0 / 0.5432 GB, free: 65.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.6482, allocations: 0.8071 MB / 0.544 GB, free: 65.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/0.6492, allocations: 241.6 kB / 0.5442 GB, free: 64.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.653, allocations: 2.843 MB / 0.547 GB, free: 62.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.6538, allocations: 1.392 MB / 0.5484 GB, free: 60.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004996/0.6544, allocations: 170.5 kB / 0.5485 GB, free: 60.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.6546, allocations: 51.44 kB / 0.5486 GB, free: 60.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6546, allocations: 0 / 0.5486 GB, free: 60.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02523/0.6798, allocations: 16.75 MB / 0.565 GB, free: 44.03 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches