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.001087/0.001087, allocations: 109.4 kB / 18.4 MB, free: 4.672 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.001106/0.001106, allocations: 189.2 kB / 19.33 MB, free: 3.75 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.376/1.376, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.002343/0.002343, allocations: 57.64 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.0958, allocations: 46.63 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006231/0.1021, allocations: 4.496 MB / 380.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.2803, allocations: 1.269 MB / 381.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.2807, allocations: 22.12 kB / 381.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.2811, allocations: 164 kB / 381.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.2821, allocations: 348.6 kB / 382.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.2825, allocations: 191.9 kB / 382.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.2845, allocations: 1.617 MB / 383.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.2856, allocations: 0.9288 MB / 384.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/0.2866, allocations: 0.673 MB / 385.5 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.2878, allocations: 0.8451 MB / 386.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.2881, allocations: 174.4 kB / 386.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.2884, allocations: 174.4 kB / 386.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.2889, allocations: 482.4 kB / 387.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008238/0.2897, allocations: 0.7863 MB / 388 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.2924, allocations: 2.234 MB / 390.2 MB, free: 6.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2924, allocations: 4 kB / 390.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2924, allocations: 0 / 390.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.2924, allocations: 1.062 kB / 390.2 MB, free: 6.641 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.003836/0.2963, allocations: 1.754 MB / 392 MB, free: 5.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2963, allocations: 10.69 kB / 392 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2966, allocations: 153.2 kB / 392.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.298, allocations: 0.9329 MB / 393.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/0.2981, allocations: 75.81 kB / 393.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.2983, allocations: 101.3 kB / 393.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.3008, allocations: 1.552 MB / 394.8 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.3009, allocations: 5.656 kB / 394.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.301, allocations: 46.7 kB / 394.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.3011, allocations: 42.81 kB / 394.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.3035, allocations: 1.427 MB / 396.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006537/0.31, allocations: 4.867 MB / 401.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.3117, allocations: 1.457 MB / 402.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.313, allocations: 0.739 MB / 403.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.3131, allocations: 14.27 kB / 403.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.3141, allocations: 0.6079 MB / 404 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/0.3142, allocations: 1.219 kB / 404 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005944/0.3201, allocations: 2.411 MB / 406.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.3202, allocations: 90.25 kB / 406.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.3219, allocations: 0.9302 MB / 407.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.322, allocations: 46.05 kB / 407.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004815/0.3225, allocations: 0.5275 MB / 408 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.3228, allocations: 224.8 kB / 408.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.323, allocations: 135.7 kB / 408.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3231, allocations: 333.6 kB / 408.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.3238, allocations: 418.3 kB / 409.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/0.3246, allocations: 0.5444 MB / 409.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.3261, allocations: 0.9494 MB / 410.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3261, allocations: 5.469 kB / 410.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002246/0.3283, allocations: 1.293 MB / 411.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3284, allocations: 6.719 kB / 411.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3284, allocations: 3.781 kB / 411.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000951/0.3293, allocations: 405.7 kB / 412.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3299, allocations: 114.4 kB / 412.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.3355, allocations: 4.498 MB / 416.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.3363, allocations: 75.55 kB / 417 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/0.3364, allocations: 24 kB / 417 MB, free: 4.965 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.0008862/0.3373, allocations: 0.4913 MB / 417.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.3376, allocations: 94.81 kB / 417.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.3379, allocations: 120.5 kB / 417.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3379, allocations: 8 kB / 417.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3379, allocations: 0 / 417.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3379, allocations: 3.984 kB / 417.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.3422, allocations: 2.58 MB / 420.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.3422, allocations: 4 kB / 420.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.3426, allocations: 91.92 kB / 420.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007886/0.3434, allocations: 388.8 kB / 420.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.3435, allocations: 19.98 kB / 420.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005373/0.3489, allocations: 4.47 MB / 425.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3489, allocations: 0 / 425.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.3524, allocations: 1.957 MB / 427.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.3531, allocations: 283.8 kB / 427.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.3534, allocations: 15.98 kB / 427.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/0.354, allocations: 43.95 kB / 427.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.3543, allocations: 76.53 kB / 427.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.3543, allocations: 20 kB / 427.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.3555, allocations: 0.6747 MB / 428.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.3555, allocations: 4 kB / 428.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001372/0.3569, allocations: 346.8 kB / 428.7 MB, free: 9.062 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.0002408/0.3571, allocations: 128.9 kB / 428.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.3596, allocations: 1.277 MB / 430.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3596, allocations: 4.188 kB / 430.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.361, allocations: 0.802 MB / 430.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.3624, allocations: 252 kB / 431.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/0.368, allocations: 2.617 MB / 433.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.3692, allocations: 1.358 MB / 435.1 MB, free: 2.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.3695, allocations: 59.42 kB / 435.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3695, allocations: 0 / 435.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Templates: time 0.03111/0.4007, allocations: 21.91 MB / 457 MB, free: 12.54 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/jenkins1/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/jenkins1/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