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.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.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_3.2.3_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_3.2.3_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.001511/0.001511, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001836/0.001836, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.441/1.441, 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.00122/0.00122, allocations: 55.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08433, allocations: 46.61 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005708/0.09007, allocations: 4.511 MB / 379.7 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.2683, allocations: 1.26 MB / 380.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.2687, allocations: 21.38 kB / 380.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.2691, allocations: 169.4 kB / 381.1 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008761/0.27, allocations: 360.6 kB / 381.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.2704, allocations: 200.1 kB / 381.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001596/0.272, allocations: 1.613 MB / 383.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.273, allocations: 0.9359 MB / 384.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000861/0.2739, allocations: 0.6732 MB / 384.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009937/0.2749, allocations: 0.8459 MB / 385.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002192/0.2751, allocations: 174.9 kB / 385.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.2754, allocations: 173.7 kB / 386.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.2758, allocations: 483.7 kB / 386.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.2766, allocations: 0.7835 MB / 387.3 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.279, allocations: 2.239 MB / 389.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.279, allocations: 1.406 kB / 389.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.279, allocations: 0 / 389.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.2791, allocations: 0 / 389.6 MB, free: 6.637 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00332/0.2824, allocations: 1.759 MB / 391.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2825, allocations: 9.5 kB / 391.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.2827, allocations: 149.3 kB / 391.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.2841, allocations: 0.9302 MB / 392.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.2842, allocations: 79.31 kB / 392.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.2844, allocations: 109.3 kB / 392.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.2872, allocations: 1.546 MB / 394.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.2872, allocations: 0.7031 kB / 394.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.2873, allocations: 46.44 kB / 394.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.2874, allocations: 41.89 kB / 394.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.29, allocations: 1.428 MB / 395.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007173/0.2972, allocations: 4.872 MB / 400.5 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.2993, allocations: 1.458 MB / 402 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.3006, allocations: 0.7388 MB / 402.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.3007, allocations: 12.92 kB / 402.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.3017, allocations: 0.6125 MB / 403.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.3017, allocations: 0 / 403.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006041/0.3078, allocations: 2.415 MB / 405.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.3079, allocations: 86.05 kB / 405.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3093, allocations: 0.929 MB / 406.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.3093, allocations: 41.45 kB / 406.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.3099, allocations: 0.529 MB / 407.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.3101, allocations: 227.5 kB / 407.6 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.3103, allocations: 135.4 kB / 407.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3105, allocations: 333.8 kB / 408 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.3112, allocations: 414.7 kB / 408.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/0.312, allocations: 0.5468 MB / 409 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.3135, allocations: 0.9479 MB / 409.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.3135, allocations: 1.938 kB / 409.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002536/0.316, allocations: 1.289 MB / 411.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.3161, allocations: 10.86 kB / 411.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3161, allocations: 6.688 kB / 411.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.3172, allocations: 406.5 kB / 411.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.3177, allocations: 113.9 kB / 411.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.3241, allocations: 4.495 MB / 416.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/0.325, allocations: 75.55 kB / 416.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.3251, allocations: 31.92 kB / 416.3 MB, free: 4.949 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.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: 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.000987/0.3261, allocations: 495.2 kB / 416.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.3263, allocations: 98.8 kB / 416.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.3266, allocations: 116.5 kB / 417 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.3266, allocations: 8 kB / 417 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3266, allocations: 0 / 417 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.3266, allocations: 3.984 kB / 417 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.3308, allocations: 2.59 MB / 419.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3309, allocations: 128 / 419.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.3313, allocations: 95.86 kB / 419.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/0.3321, allocations: 384.8 kB / 420.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.3322, allocations: 19.98 kB / 420.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005365/0.3376, allocations: 4.465 MB / 424.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3376, allocations: 0 / 424.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.3407, allocations: 1.955 MB / 426.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.3412, allocations: 287.8 kB / 426.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3413, allocations: 12 kB / 426.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3418, allocations: 43.95 kB / 426.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.342, allocations: 76.53 kB / 427 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/0.3421, allocations: 23.98 kB / 427 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009519/0.343, allocations: 0.6708 MB / 427.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.343, allocations: 4 kB / 427.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3441, allocations: 346.9 kB / 428 MB, free: 9.055 MB / 350.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001838/0.3443, allocations: 133.4 kB / 428.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.3465, allocations: 1.281 MB / 429.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3465, allocations: 6.734 kB / 429.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001234/0.3478, allocations: 0.8064 MB / 430.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3488, allocations: 244.3 kB / 430.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3533, allocations: 2.602 MB / 433.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009807/0.3543, allocations: 1.388 MB / 434.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.3547, allocations: 167.3 kB / 434.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.3549, allocations: 59.42 kB / 434.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3549, allocations: 0 / 434.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Templates: time 0.02858/0.3835, allocations: 18.45 MB / 453.1 MB, free: 15.82 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches