Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001364/0.001364, allocations: 115 kB / 18.46 MB, free: 4.621 MB / 14.72 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.001394/0.001394, allocations: 207.3 kB / 21.41 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 254.8 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 374.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 53.33 MB / 427.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.209/0.3152, allocations: 4.61 MB / 432.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.3179, allocations: 1.32 MB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/0.3183, allocations: 32.19 kB / 433.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.3186, allocations: 174.3 kB / 433.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008604/0.3195, allocations: 359.1 kB / 434 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.3199, allocations: 213.2 kB / 434.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3212, allocations: 1.626 MB / 435.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.3221, allocations: 0.7917 MB / 436.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008324/0.323, allocations: 0.7133 MB / 437.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.324, allocations: 0.8723 MB / 438.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.3242, allocations: 176.3 kB / 438.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.3246, allocations: 183.8 kB / 438.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.325, allocations: 489.1 kB / 439 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007704/0.3257, allocations: 0.7973 MB / 439.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.3283, allocations: 2.28 MB / 442.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3283, allocations: 0.5 kB / 442.1 MB, free: 5.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3283, allocations: 4.562 kB / 442.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.3283, allocations: 0 / 442.1 MB, free: 5.105 MB / 350.1 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.003881/0.3322, allocations: 1.83 MB / 443.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3322, allocations: 9.375 kB / 444 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.333, allocations: 213.4 kB / 444.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.3345, allocations: 1.044 MB / 445.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.056e-05/0.3346, allocations: 82.27 kB / 445.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3348, allocations: 100.4 kB / 445.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.3375, allocations: 1.561 MB / 446.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.3375, allocations: 2.031 kB / 446.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.3376, allocations: 43.48 kB / 447 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/0.3377, allocations: 43.38 kB / 447 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.3401, allocations: 1.434 MB / 448.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007559/0.3477, allocations: 4.908 MB / 453.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3494, allocations: 1.385 MB / 454.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3507, allocations: 0.6815 MB / 455.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.3507, allocations: 11.05 kB / 455.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3518, allocations: 0.6092 MB / 456.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.3518, allocations: 0 / 456.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006304/0.3581, allocations: 2.44 MB / 458.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/0.3582, allocations: 90.08 kB / 458.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.3599, allocations: 0.957 MB / 459.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.36, allocations: 45.66 kB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.3606, allocations: 0.5474 MB / 460.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.3608, allocations: 242.7 kB / 460.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.3611, allocations: 135.6 kB / 460.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3612, allocations: 337.7 kB / 460.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.362, allocations: 412.9 kB / 461.2 MB, free: 9.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.3628, allocations: 0.5535 MB / 461.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.3643, allocations: 0.9453 MB / 462.7 MB, free: 9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3644, allocations: 0 / 462.7 MB, free: 9 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002437/0.3668, allocations: 1.286 MB / 464 MB, free: 8.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3668, allocations: 12.02 kB / 464 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3668, allocations: 3.562 kB / 464 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009575/0.3678, allocations: 398.5 kB / 464.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3683, allocations: 118.5 kB / 464.5 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006049/0.3743, allocations: 4.503 MB / 469 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.3752, allocations: 83.67 kB / 469.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.3753, allocations: 23.72 kB / 469.2 MB, free: 4.656 MB / 366.1 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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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: 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.0009812/0.3763, allocations: 0.4912 MB / 469.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.3766, allocations: 102.4 kB / 469.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3769, allocations: 120.3 kB / 469.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3769, allocations: 8.312 kB / 469.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.377, allocations: 0 / 469.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.377, allocations: 7.984 kB / 469.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.3818, allocations: 2.586 MB / 472.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3818, allocations: 0 / 472.5 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.3822, allocations: 83.88 kB / 472.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.3831, allocations: 393.5 kB / 472.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.3831, allocations: 15.94 kB / 472.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005855/0.389, allocations: 4.482 MB / 477.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.389, allocations: 0 / 477.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.3923, allocations: 1.955 MB / 479.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/0.393, allocations: 285.8 kB / 479.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.3932, allocations: 12 kB / 479.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.3937, allocations: 51.94 kB / 479.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.394, allocations: 72.55 kB / 479.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.394, allocations: 23.98 kB / 479.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.3951, allocations: 0.6902 MB / 480.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3951, allocations: 0 / 480.5 MB, free: 10.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001183/0.3963, allocations: 363.1 kB / 480.9 MB, free: 9.777 MB / 382.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_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 (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.0001959/0.3965, allocations: 131.1 kB / 481 MB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.3989, allocations: 1.245 MB / 482.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3989, allocations: 0 / 482.2 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.4002, allocations: 0.7793 MB / 483 MB, free: 7.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4015, allocations: 256.8 kB / 483.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005772/0.4072, allocations: 2.688 MB / 486 MB, free: 4.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.4085, allocations: 1.366 MB / 487.3 MB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.4089, allocations: 63.42 kB / 487.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4089, allocations: 0 / 487.4 MB, free: 3.168 MB / 382.1 MB Notification: Performance of Templates: time 0.0346/0.4435, allocations: 22.5 MB / 0.4979 GB, free: 12.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.560232235002331]