Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.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_3.2.3_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.002322, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 100.7 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.299e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 47.56 MB / 362.4 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4664, allocations: 83.28 MB / 445.6 MB, free: 3.012 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.4668, allocations: 87.75 kB / 445.7 MB, free: 2.93 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08986/0.5567, allocations: 20.92 MB / 466.6 MB, free: 13.92 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5567, allocations: 0 / 466.6 MB, free: 13.92 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.5569, allocations: 31.94 kB / 466.7 MB, free: 13.89 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004869/0.5617, allocations: 1.366 MB / 468 MB, free: 12.47 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5618, allocations: 8.031 kB / 468 MB, free: 12.46 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.5625, allocations: 158.2 kB / 468.2 MB, free: 12.31 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.5655, allocations: 0.9531 MB / 469.2 MB, free: 11.31 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.519e-05/0.5656, allocations: 32 kB / 469.2 MB, free: 11.28 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.5659, allocations: 63.98 kB / 469.2 MB, free: 11.22 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003547/0.5695, allocations: 1.214 MB / 470.5 MB, free: 10 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/0.5733, allocations: 1.333 MB / 471.8 MB, free: 8.59 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.5734, allocations: 4 kB / 471.8 MB, free: 8.586 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.5736, allocations: 4 kB / 471.8 MB, free: 8.582 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.5737, allocations: 46.03 kB / 471.8 MB, free: 8.535 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.5858, allocations: 4.766 MB / 476.6 MB, free: 3.602 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.5882, allocations: 1.38 MB / 478 MB, free: 2.102 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.59, allocations: 0.6803 MB / 478.7 MB, free: 1.418 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/0.5901, allocations: 8.516 kB / 478.7 MB, free: 1.41 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.5914, allocations: 0.5579 MB / 479.2 MB, free: 0.8359 MB / 363.1 MB Notification: Performance of pre-optimization done (n=72): time 3.487e-06/0.5914, allocations: 0 / 479.2 MB, free: 0.8359 MB / 363.1 MB Notification: Performance of matching and sorting (n=72): time 0.003158/0.5946, allocations: 1.129 MB / 480.4 MB, free: 15.69 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.5947, allocations: 85.89 kB / 480.5 MB, free: 15.59 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.5963, allocations: 0.7655 MB / 481.2 MB, free: 14.82 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.5965, allocations: 25.7 kB / 481.2 MB, free: 14.79 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006183/0.5971, allocations: 0.5176 MB / 481.8 MB, free: 14.27 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.5975, allocations: 224.7 kB / 482 MB, free: 14.04 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.5976, allocations: 0 / 482 MB, free: 14.04 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5978, allocations: 338.8 kB / 482.3 MB, free: 13.7 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/0.5986, allocations: 365.4 kB / 482.7 MB, free: 13.35 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009964/0.5997, allocations: 0.4895 MB / 483.2 MB, free: 12.8 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.6006, allocations: 397.9 kB / 483.5 MB, free: 12.41 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6006, allocations: 4 kB / 483.6 MB, free: 12.41 MB / 379.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002807/0.6035, allocations: 1.074 MB / 484.6 MB, free: 11.33 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.6035, allocations: 12.39 kB / 484.6 MB, free: 11.32 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.6036, allocations: 8 kB / 484.6 MB, free: 11.31 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.6052, allocations: 387.2 kB / 485 MB, free: 10.93 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6062, allocations: 115.8 kB / 485.1 MB, free: 10.82 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/0.6148, allocations: 4.005 MB / 489.1 MB, free: 6.691 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.6159, allocations: 63.61 kB / 489.2 MB, free: 6.629 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.616, allocations: 32 kB / 489.2 MB, free: 6.598 MB / 379.1 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 () * 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.0002766/0.6163, allocations: 134.5 kB / 489.4 MB, free: 6.461 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.6166, allocations: 90.88 kB / 489.5 MB, free: 6.371 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.617, allocations: 104.5 kB / 489.6 MB, free: 6.262 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.617, allocations: 11.98 kB / 489.6 MB, free: 6.25 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.617, allocations: 0 / 489.6 MB, free: 6.25 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.617, allocations: 0 / 489.6 MB, free: 6.25 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.6234, allocations: 2.331 MB / 491.9 MB, free: 3.867 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.6234, allocations: 7.938 kB / 491.9 MB, free: 3.859 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/0.6244, allocations: 87.88 kB / 492 MB, free: 3.773 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.6259, allocations: 376.6 kB / 492.4 MB, free: 3.402 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.626, allocations: 11.94 kB / 492.4 MB, free: 3.391 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008202/0.6343, allocations: 3.968 MB / 496.3 MB, free: 15.31 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6343, allocations: 0 / 496.3 MB, free: 15.31 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.6386, allocations: 1.787 MB / 498.1 MB, free: 13.5 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.6396, allocations: 283.9 kB / 498.4 MB, free: 13.21 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.6398, allocations: 4 kB / 498.4 MB, free: 13.2 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.6407, allocations: 35.95 kB / 498.4 MB, free: 13.17 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.641, allocations: 76.66 kB / 498.5 MB, free: 13.09 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.6411, allocations: 19.98 kB / 498.5 MB, free: 13.07 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001316/0.6424, allocations: 0.5967 MB / 499.1 MB, free: 12.48 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6425, allocations: 0 / 499.1 MB, free: 12.48 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001745/0.6442, allocations: 326.8 kB / 499.5 MB, free: 12.16 MB / 395.1 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.0003331/0.6446, allocations: 119 kB / 499.6 MB, free: 12.03 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.6477, allocations: 1.137 MB / 0.489 GB, free: 10.88 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.6478, allocations: 4 kB / 0.489 GB, free: 10.87 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.6498, allocations: 0.7345 MB / 0.4897 GB, free: 10.12 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.6516, allocations: 200.4 kB / 0.4899 GB, free: 9.938 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007382/0.659, allocations: 2.044 MB / 0.4919 GB, free: 7.859 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.6606, allocations: 1.377 MB / 0.4932 GB, free: 6.457 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.6611, allocations: 55.42 kB / 0.4933 GB, free: 6.402 MB / 395.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6611, allocations: 0 / 0.4933 GB, free: 6.402 MB / 395.1 MB Notification: Performance of Templates: time 0.3054/0.9665, allocations: 20.63 MB / 0.5134 GB, free: 112.6 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches