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.001221/0.001221, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.0009984/0.0009984, allocations: 188.2 kB / 18.67 MB, free: 4.387 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.471/1.471, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001122/0.001122, allocations: 51.92 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09618, allocations: 46.62 MB / 375.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006075/0.1023, allocations: 4.499 MB / 379.7 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1952/0.2976, allocations: 1.269 MB / 380.9 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003296/0.2979, allocations: 20.12 kB / 381 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.2984, allocations: 165 kB / 381.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.2993, allocations: 342.5 kB / 381.4 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.2997, allocations: 198.2 kB / 381.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001725/0.3014, allocations: 1.614 MB / 383.3 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.3025, allocations: 0.9318 MB / 384.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.3033, allocations: 0.6781 MB / 384.9 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3045, allocations: 0.8499 MB / 385.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.3048, allocations: 174.7 kB / 385.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.3052, allocations: 174.9 kB / 386.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004728/0.3057, allocations: 478.9 kB / 386.5 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.3065, allocations: 0.786 MB / 387.3 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.3093, allocations: 2.237 MB / 389.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3093, allocations: 1.406 kB / 389.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3093, allocations: 0 / 389.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.3093, allocations: 3.938 kB / 389.6 MB, free: 6.629 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.003292/0.3126, allocations: 1.8 MB / 391.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3127, allocations: 8.406 kB / 391.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.313, allocations: 161.2 kB / 391.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.3144, allocations: 0.9378 MB / 392.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.3144, allocations: 75.16 kB / 392.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.3146, allocations: 104.7 kB / 392.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.3172, allocations: 1.551 MB / 394.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.3172, allocations: 1.125 kB / 394.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3173, allocations: 41.77 kB / 394.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.3174, allocations: 43.3 kB / 394.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.3197, allocations: 1.429 MB / 395.7 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/0.3258, allocations: 4.882 MB / 400.6 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.3274, allocations: 1.454 MB / 402 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.3287, allocations: 0.7377 MB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.3288, allocations: 7.094 kB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3298, allocations: 0.6126 MB / 403.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.525e-06/0.3298, allocations: 0 / 403.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005945/0.3357, allocations: 2.419 MB / 405.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3358, allocations: 90.02 kB / 405.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.3372, allocations: 0.9334 MB / 406.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.3373, allocations: 37.3 kB / 406.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.3378, allocations: 0.539 MB / 407.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.338, allocations: 248.5 kB / 407.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3383, allocations: 131.3 kB / 407.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3384, allocations: 334.2 kB / 408.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.3391, allocations: 409.4 kB / 408.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/0.3398, allocations: 0.5537 MB / 409.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.3412, allocations: 0.9506 MB / 410 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.3412, allocations: 0 / 410 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002397/0.3436, allocations: 1.301 MB / 411.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3437, allocations: 6.875 kB / 411.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3437, allocations: 4.125 kB / 411.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.3447, allocations: 406 kB / 411.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.3452, allocations: 114.3 kB / 411.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.351, allocations: 4.499 MB / 416.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.3518, allocations: 79.64 kB / 416.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.3519, allocations: 31.98 kB / 416.4 MB, free: 4.824 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.001049/0.3529, allocations: 499.1 kB / 416.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3531, allocations: 99.33 kB / 417 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.3534, allocations: 116.5 kB / 417.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.3534, allocations: 11.98 kB / 417.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3534, allocations: 0 / 417.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3534, allocations: 0 / 417.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.3576, allocations: 2.577 MB / 419.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3576, allocations: 8 kB / 419.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3581, allocations: 83.88 kB / 419.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008405/0.3589, allocations: 396.7 kB / 420.2 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.359, allocations: 12 kB / 420.2 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005536/0.3645, allocations: 4.481 MB / 424.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3646, allocations: 2.5 kB / 424.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.3679, allocations: 1.967 MB / 426.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.3684, allocations: 288.3 kB / 426.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3685, allocations: 12 kB / 427 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.369, allocations: 43.95 kB / 427 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.3692, allocations: 76.53 kB / 427.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.3692, allocations: 23.98 kB / 427.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008736/0.3701, allocations: 0.6708 MB / 427.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3701, allocations: 0 / 427.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001056/0.3712, allocations: 351.2 kB / 428.1 MB, free: 8.914 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.0001915/0.3714, allocations: 131 kB / 428.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3736, allocations: 1.284 MB / 429.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3736, allocations: 192 / 429.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.3748, allocations: 0.8102 MB / 430.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3759, allocations: 260.8 kB / 430.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.3811, allocations: 2.624 MB / 433.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000977/0.3821, allocations: 1.388 MB / 434.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005335/0.3827, allocations: 167.3 kB / 434.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.3828, allocations: 67.42 kB / 434.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.335e-06/0.3829, allocations: 0 / 434.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Templates: time 0.03085/0.4137, allocations: 18.46 MB / 453.3 MB, free: 15.62 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