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.001546/0.001546, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001664/0.001664, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.389/1.389, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001887/0.001887, allocations: 39.94 kB / 379.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3062, allocations: 53.36 MB / 432.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007319/0.3135, allocations: 4.651 MB / 437.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.3169, allocations: 1.328 MB / 438.4 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.3177, allocations: 27.81 kB / 438.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.3183, allocations: 174.6 kB / 438.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.3198, allocations: 374 kB / 439 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007114/0.3205, allocations: 211.6 kB / 439.2 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002488/0.323, allocations: 1.627 MB / 440.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.3241, allocations: 0.5834 MB / 441.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.3252, allocations: 0.7164 MB / 442.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.3267, allocations: 0.8756 MB / 443 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004703/0.3272, allocations: 176 kB / 443.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009121/0.3281, allocations: 180 kB / 443.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000936/0.329, allocations: 486.6 kB / 443.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.3306, allocations: 0.7972 MB / 444.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.3334, allocations: 2.283 MB / 446.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3334, allocations: 0 / 446.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3334, allocations: 4 kB / 446.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.752e-05/0.3335, allocations: 0 / 446.9 MB, free: 8.5 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.005079/0.3385, allocations: 2.061 MB / 448.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3386, allocations: 12.03 kB / 448.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.3395, allocations: 211.9 kB / 449.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3418, allocations: 0.9826 MB / 450.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.3418, allocations: 82.44 kB / 450.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.3421, allocations: 108.1 kB / 450.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.3453, allocations: 1.553 MB / 451.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.3453, allocations: 0 / 451.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.3454, allocations: 47.98 kB / 451.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/0.3455, allocations: 50.03 kB / 452 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3481, allocations: 1.433 MB / 453.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007858/0.356, allocations: 4.826 MB / 458.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.3575, allocations: 0.9383 MB / 459.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3588, allocations: 0.6768 MB / 459.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.3589, allocations: 8.656 kB / 459.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.36, allocations: 0.6162 MB / 460.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.776e-06/0.36, allocations: 3.938 kB / 460.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006087/0.3661, allocations: 2.364 MB / 462.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.643e-05/0.3662, allocations: 85.77 kB / 462.9 MB, free: 8.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.3678, allocations: 0.962 MB / 463.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.3679, allocations: 41.7 kB / 463.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.3684, allocations: 0.5475 MB / 464.5 MB, free: 6.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.3687, allocations: 242 kB / 464.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3689, allocations: 130.6 kB / 464.8 MB, free: 6.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.369, allocations: 337.9 kB / 465.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.3698, allocations: 417.7 kB / 465.6 MB, free: 5.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/0.3707, allocations: 0.5447 MB / 466.1 MB, free: 4.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3722, allocations: 0.9522 MB / 467.1 MB, free: 3.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3722, allocations: 3.938 kB / 467.1 MB, free: 3.777 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002462/0.3747, allocations: 1.283 MB / 468.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3747, allocations: 10.53 kB / 468.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3747, allocations: 4 kB / 468.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.3758, allocations: 403 kB / 468.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.3763, allocations: 115.9 kB / 468.9 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.3827, allocations: 4.401 MB / 473.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006251/0.3833, allocations: 87.52 kB / 473.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.3834, allocations: 27.98 kB / 473.4 MB, free: 13.34 MB / 382.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_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.0008969/0.3843, allocations: 0.4953 MB / 473.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.3845, allocations: 99.33 kB / 474 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.3848, allocations: 120.8 kB / 474.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.3848, allocations: 8 kB / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3848, allocations: 0 / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.3848, allocations: 7.969 kB / 474.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.3895, allocations: 2.559 MB / 476.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3895, allocations: 0 / 476.7 MB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.3899, allocations: 87.88 kB / 476.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008835/0.3908, allocations: 389 kB / 477.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.3908, allocations: 19.92 kB / 477.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005981/0.3968, allocations: 4.369 MB / 481.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3968, allocations: 0 / 481.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/0.4, allocations: 1.956 MB / 483.5 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.4005, allocations: 219.2 kB / 483.7 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4007, allocations: 12 kB / 483.7 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.4011, allocations: 43.95 kB / 483.7 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.4013, allocations: 80.5 kB / 483.8 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.4014, allocations: 27.98 kB / 483.9 MB, free: 2.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001051/0.4024, allocations: 0.6902 MB / 484.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4024, allocations: 0 / 484.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001063/0.4035, allocations: 355.2 kB / 484.9 MB, free: 1.625 MB / 382.1 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_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.000209/0.4037, allocations: 121.3 kB / 485 MB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.4061, allocations: 1.253 MB / 486.3 MB, free: 236 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4061, allocations: 4 kB / 486.3 MB, free: 232 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.4075, allocations: 0.7794 MB / 487 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4086, allocations: 268.4 kB / 487.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005671/0.4143, allocations: 2.692 MB / 490 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.4156, allocations: 1.366 MB / 491.4 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.4158, allocations: 63.42 kB / 491.4 MB, free: 10.99 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4158, allocations: 4 kB / 491.4 MB, free: 10.99 MB / 398.1 MB Notification: Performance of Templates: time 0.03395/0.4498, allocations: 22.5 MB / 0.5019 GB, free: 4.555 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: 8.811547006014735]