Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 100.4 kB / 16.5 MB, free: 6.641 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.00118/0.00118, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 47.58 kB / 300 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.0892, allocations: 49.45 MB / 349.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006075/0.09532, allocations: 4.562 MB / 354 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.09783, allocations: 1.215 MB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.09839, allocations: 19.94 kB / 355.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.09876, allocations: 135.1 kB / 355.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.09965, allocations: 322.4 kB / 355.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1, allocations: 163.8 kB / 355.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.1014, allocations: 1.814 MB / 357.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.1024, allocations: 0.9439 MB / 358.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005468/0.1029, allocations: 0.5602 MB / 359.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/0.1038, allocations: 0.8015 MB / 359.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.1039, allocations: 103.9 kB / 360 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.1041, allocations: 100 kB / 360.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.1044, allocations: 390.7 kB / 360.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006482/0.1051, allocations: 0.7113 MB / 361.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1067, allocations: 2.142 MB / 363.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1067, allocations: 0 / 363.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1067, allocations: 0 / 363.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1067, allocations: 4 kB / 363.4 MB, free: 6.805 MB / 302.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.002972/0.1097, allocations: 1.766 MB / 365.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1097, allocations: 12.03 kB / 365.1 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.11, allocations: 155.1 kB / 365.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.1113, allocations: 0.9577 MB / 366.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.298e-05/0.1114, allocations: 90.41 kB / 366.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1115, allocations: 104.1 kB / 366.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.1139, allocations: 1.553 MB / 368 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.1139, allocations: 7.938 kB / 368 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.114, allocations: 43.98 kB / 368.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.1141, allocations: 46.03 kB / 368.1 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.1164, allocations: 1.437 MB / 369.5 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1567/0.2731, allocations: 4.926 MB / 374.5 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.2745, allocations: 1.449 MB / 375.9 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.2756, allocations: 0.732 MB / 376.6 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.2757, allocations: 8.703 kB / 376.6 MB, free: 21.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000957/0.2767, allocations: 0.6112 MB / 377.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.676e-06/0.2767, allocations: 1.375 kB / 377.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005542/0.2822, allocations: 2.433 MB / 379.7 MB, free: 20.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.2823, allocations: 93.58 kB / 379.8 MB, free: 20.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.2834, allocations: 0.9419 MB / 380.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.2835, allocations: 42.69 kB / 380.8 MB, free: 20.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.2838, allocations: 0.5226 MB / 381.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.284, allocations: 230.2 kB / 381.5 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.2842, allocations: 132.4 kB / 381.6 MB, free: 19.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.2843, allocations: 329.2 kB / 382 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006724/0.2849, allocations: 417.4 kB / 382.4 MB, free: 19.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.2856, allocations: 0.5545 MB / 382.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2869, allocations: 0.9485 MB / 383.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2869, allocations: 0.9375 kB / 383.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001909/0.2888, allocations: 1.286 MB / 385.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2889, allocations: 10.59 kB / 385.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.2889, allocations: 3.719 kB / 385.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.2897, allocations: 398.5 kB / 385.6 MB, free: 17.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.2902, allocations: 116.2 kB / 385.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004299/0.2945, allocations: 4.123 MB / 389.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.295, allocations: 86.91 kB / 389.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.2951, allocations: 23.78 kB / 389.9 MB, free: 14.27 MB / 302.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.0005479/0.2957, allocations: 0.4913 MB / 390.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2958, allocations: 89.56 kB / 390.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.296, allocations: 119.3 kB / 390.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.296, allocations: 8.438 kB / 390.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.296, allocations: 0 / 390.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.296, allocations: 3.984 kB / 390.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.2995, allocations: 2.6 MB / 393.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2995, allocations: 1.375 kB / 393.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2999, allocations: 93.69 kB / 393.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007854/0.3007, allocations: 389.5 kB / 393.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.3008, allocations: 11.59 kB / 393.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/0.3047, allocations: 4.096 MB / 397.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3047, allocations: 0 / 397.8 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.307, allocations: 1.958 MB / 399.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.3073, allocations: 291.7 kB / 400 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3074, allocations: 12 kB / 400.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.3079, allocations: 43.94 kB / 400.1 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.308, allocations: 76.53 kB / 400.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.3081, allocations: 20 kB / 400.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006639/0.3088, allocations: 0.6747 MB / 400.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3088, allocations: 0 / 400.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008041/0.3096, allocations: 350.9 kB / 401.2 MB, free: 5.258 MB / 302.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.0001425/0.3097, allocations: 132.4 kB / 401.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3114, allocations: 1.264 MB / 402.6 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3114, allocations: 4.125 kB / 402.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.3124, allocations: 0.8017 MB / 403.4 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.3133, allocations: 235.7 kB / 403.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.3174, allocations: 3.114 MB / 406.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3185, allocations: 1.388 MB / 408.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005174/0.319, allocations: 171.2 kB / 408.3 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.3192, allocations: 55.44 kB / 408.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3192, allocations: 0 / 408.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of Templates: time 0.02742/0.3466, allocations: 17.19 MB / 425.6 MB, free: 13.09 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches