Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 110.4 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002718/0.002718, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001109, allocations: 47.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1017, allocations: 46.61 MB / 375.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004926/0.1067, allocations: 3.409 MB / 378.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1084, allocations: 0.8847 MB / 379.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.1087, allocations: 4 kB / 379.5 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1089, allocations: 71.3 kB / 379.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.1093, allocations: 114.9 kB / 379.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2023/0.3116, allocations: 140.9 kB / 379.8 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008148/0.3124, allocations: 0.5089 MB / 380.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.3128, allocations: 170.1 kB / 380.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.313, allocations: 195.9 kB / 380.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.3133, allocations: 218.6 kB / 380.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.097e-05/0.3134, allocations: 44.16 kB / 380.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.3135, allocations: 44.97 kB / 380.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.3136, allocations: 103.4 kB / 381 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.3139, allocations: 224 kB / 381.3 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.3145, allocations: 0.5138 MB / 381.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3145, allocations: 3.969 kB / 381.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3146, allocations: 0 / 381.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3146, allocations: 0.5625 kB / 381.8 MB, free: 9.559 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001409/0.316, allocations: 0.7156 MB / 382.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.316, allocations: 11.78 kB / 382.5 MB, free: 9.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3162, allocations: 49.62 kB / 382.6 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.3166, allocations: 338 kB / 382.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.3167, allocations: 31.03 kB / 382.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.3168, allocations: 38.22 kB / 383 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.3176, allocations: 387.8 kB / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3176, allocations: 0 / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.3177, allocations: 17.72 kB / 383.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3177, allocations: 10.09 kB / 383.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.3183, allocations: 254.7 kB / 383.6 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.3205, allocations: 1.458 MB / 385.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.3209, allocations: 239.7 kB / 385.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.3214, allocations: 169 kB / 385.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.3214, allocations: 6.141 kB / 385.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.3218, allocations: 230.3 kB / 385.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.704e-06/0.3219, allocations: 0 / 385.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001527/0.3234, allocations: 0.5856 MB / 386.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.3235, allocations: 111.6 kB / 386.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.3238, allocations: 295.2 kB / 386.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3238, allocations: 33.7 kB / 386.7 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.324, allocations: 216.6 kB / 386.9 MB, free: 6.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.324, allocations: 102.1 kB / 387 MB, free: 6.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.3241, allocations: 66.89 kB / 387.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.3242, allocations: 345.5 kB / 387.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3244, allocations: 93.7 kB / 387.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3247, allocations: 220.6 kB / 387.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3251, allocations: 327.9 kB / 388 MB, free: 5.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3251, allocations: 1.469 kB / 388.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007678/0.3259, allocations: 411 kB / 388.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.3259, allocations: 7.812 kB / 388.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.326, allocations: 6.594 kB / 388.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.3263, allocations: 85.92 kB / 388.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.3266, allocations: 60.91 kB / 388.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.3284, allocations: 2.003 MB / 390.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.3287, allocations: 42.72 kB / 390.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3287, allocations: 13.83 kB / 390.7 MB, free: 3.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.3289, allocations: 174.1 kB / 390.8 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.329, allocations: 35.94 kB / 390.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.3291, allocations: 38.39 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3291, allocations: 4.344 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3291, allocations: 4.656 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.3291, allocations: 1.875 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/0.3299, allocations: 0.5622 MB / 391.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3299, allocations: 1.25 kB / 391.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.3301, allocations: 36.58 kB / 391.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.3304, allocations: 79.38 kB / 391.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3304, allocations: 7.875 kB / 391.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.3323, allocations: 1.981 MB / 393.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3323, allocations: 0 / 393.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009188/0.3333, allocations: 0.498 MB / 394.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3334, allocations: 132.5 kB / 394.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.3335, allocations: 11.45 kB / 394.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3336, allocations: 19.02 kB / 394.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3338, allocations: 29 kB / 394.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3338, allocations: 17.78 kB / 394.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.334, allocations: 210.4 kB / 394.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.334, allocations: 0 / 394.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.3345, allocations: 113.5 kB / 394.6 MB, free: 0.9062 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001329/0.3347, allocations: 113.9 kB / 394.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.3355, allocations: 418 kB / 395.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3355, allocations: 2.156 kB / 395.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.3359, allocations: 288.3 kB / 395.4 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3362, allocations: 57.39 kB / 395.5 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3374, allocations: 0.6943 MB / 396.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3379, allocations: 0.8073 MB / 397 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.338, allocations: 38.69 kB / 397 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.3381, allocations: 28.56 kB / 397 MB, free: 15.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3381, allocations: 0 / 397 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Templates: time 0.01141/0.3495, allocations: 4.824 MB / 401.9 MB, free: 14.36 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches