Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 84.3 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 169.3 kB / 25.6 MB, free: 8.48 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9693/0.9693, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.504e-05, allocations: 2.312 kB / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.01325/0.01328, allocations: 4.391 MB / 255.9 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.01568, allocations: 1.263 MB / 257.1 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.016, allocations: 23.81 kB / 257.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.01635, allocations: 170.6 kB / 257.3 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.01719, allocations: 381.5 kB / 257.7 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.01752, allocations: 203.6 kB / 257.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.01855, allocations: 1.661 MB / 259.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.01903, allocations: 0.5083 MB / 260.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007461/0.01977, allocations: 1.01 MB / 261.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.02052, allocations: 0.8419 MB / 261.9 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.02068, allocations: 176 kB / 262.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.02084, allocations: 172 kB / 262.3 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.02112, allocations: 0.4946 MB / 262.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.0215, allocations: 0.5495 MB / 263.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009594/0.02246, allocations: 1.312 MB / 264.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.02247, allocations: 0 / 264.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02247, allocations: 4 kB / 264.6 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.02248, allocations: 0 / 264.6 MB, free: 10 MB / 250.7 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.00211/0.02459, allocations: 2.254 MB / 266.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.02464, allocations: 11.98 kB / 266.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.02489, allocations: 240 kB / 267.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.02559, allocations: 0.7213 MB / 267.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.02564, allocations: 78.39 kB / 267.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.02574, allocations: 108.3 kB / 268 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009008/0.02664, allocations: 0.8359 MB / 268.9 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.02666, allocations: 3.938 kB / 268.9 MB, free: 5.602 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.02673, allocations: 40 kB / 268.9 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.02678, allocations: 50.02 kB / 269 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.02724, allocations: 297.8 kB / 269.3 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.03045, allocations: 3.845 MB / 273.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.03095, allocations: 469.9 kB / 273.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.03136, allocations: 332.8 kB / 273.9 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.0314, allocations: 12.66 kB / 273.9 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.03175, allocations: 348.2 kB / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.03176, allocations: 0 / 274.2 MB, free: 12 kB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.002131/0.03389, allocations: 1.075 MB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.03394, allocations: 97.69 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.03448, allocations: 0.7374 MB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.03452, allocations: 41.7 kB / 276.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.03484, allocations: 0.6125 MB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.03498, allocations: 249.9 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.03513, allocations: 140.2 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.03525, allocations: 0.516 MB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.03538, allocations: 77.92 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.0356, allocations: 322.5 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.03597, allocations: 391.5 kB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.03598, allocations: 0 / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006751/0.03665, allocations: 0.5595 MB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.03667, allocations: 4 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.03668, allocations: 8 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/0.03704, allocations: 181.4 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.03729, allocations: 107.8 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.03956, allocations: 3.085 MB / 282.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.03981, allocations: 55.66 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.03984, allocations: 27.94 kB / 282.5 MB, free: 7.402 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.04008, allocations: 210.3 kB / 282.7 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.04018, allocations: 119.4 kB / 282.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.04029, allocations: 108.2 kB / 282.9 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.0403, allocations: 8 kB / 282.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.0403, allocations: 0 / 282.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.04031, allocations: 3.984 kB / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.04179, allocations: 1.317 MB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.04179, allocations: 8 kB / 284.2 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.04199, allocations: 75.88 kB / 284.3 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/0.0423, allocations: 167.7 kB / 284.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.04233, allocations: 15.98 kB / 284.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.04444, allocations: 3.034 MB / 287.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.04444, allocations: 4 kB / 287.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.04523, allocations: 0.7567 MB / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.04544, allocations: 179.2 kB / 288.5 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.0455, allocations: 15.98 kB / 288.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.04569, allocations: 27.98 kB / 288.5 MB, free: 1.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.0458, allocations: 64.53 kB / 288.6 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.04582, allocations: 16 kB / 288.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003088/0.04613, allocations: 450.8 kB / 289 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04613, allocations: 0 / 289 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000654/0.04678, allocations: 355.2 kB / 289.4 MB, free: 316 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.04692, allocations: 131.1 kB / 289.5 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.0477, allocations: 0.7132 MB / 290.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0477, allocations: 0 / 290.2 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.04819, allocations: 0.5448 MB / 290.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.04877, allocations: 251.1 kB / 291 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.05151, allocations: 2.217 MB / 293.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.05178, allocations: 395.7 kB / 293.6 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.05199, allocations: 91.12 kB / 293.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.05236, allocations: 294 kB / 294 MB, free: 11.58 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05237, allocations: 0 / 294 MB, free: 11.58 MB / 282.7 MB Notification: Performance of Templates: time 0.02127/0.07364, allocations: 18.42 MB / 312.4 MB, free: 9.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.006577915046364]