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.001306/0.001306, allocations: 109.2 kB / 17.73 MB, free: 5.289 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.001388/0.001388, allocations: 188.2 kB / 18.66 MB, free: 4.363 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.435/1.435, 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.001995/0.001995, allocations: 55.92 kB / 328.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 46.6 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005559/0.1139, allocations: 3.409 MB / 378.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.116, allocations: 0.8808 MB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000528/0.1165, allocations: 11.94 kB / 379.5 MB, free: 244 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1169, allocations: 63.36 kB / 379.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.1174, allocations: 126.9 kB / 379.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2608/0.3782, allocations: 134.5 kB / 379.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009681/0.3792, allocations: 0.5087 MB / 380.3 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.3796, allocations: 173.7 kB / 380.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3799, allocations: 197.4 kB / 380.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.3803, allocations: 216 kB / 380.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.607e-05/0.3803, allocations: 45.25 kB / 380.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.355e-05/0.3804, allocations: 44.81 kB / 380.9 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.3805, allocations: 100.2 kB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3807, allocations: 227.3 kB / 381.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006579/0.3814, allocations: 0.5124 MB / 381.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3814, allocations: 0.5312 kB / 381.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3814, allocations: 7.25 kB / 381.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3814, allocations: 0 / 381.8 MB, free: 9.57 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.001307/0.3827, allocations: 0.7201 MB / 382.5 MB, free: 9.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.3828, allocations: 9.781 kB / 382.5 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.383, allocations: 49.03 kB / 382.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005585/0.3835, allocations: 338.3 kB / 382.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.3836, allocations: 27.69 kB / 382.9 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.3837, allocations: 41.31 kB / 383 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.3845, allocations: 384.9 kB / 383.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3846, allocations: 1.438 kB / 383.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.3846, allocations: 20.7 kB / 383.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3847, allocations: 8.844 kB / 383.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.3853, allocations: 252.4 kB / 383.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.3879, allocations: 1.459 MB / 385.1 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.3885, allocations: 238.5 kB / 385.3 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.389, allocations: 168.5 kB / 385.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.3891, allocations: 5.984 kB / 385.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.3896, allocations: 235.2 kB / 385.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 3.297e-06/0.3896, allocations: 0 / 385.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001979/0.3916, allocations: 0.5798 MB / 386.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.3917, allocations: 112 kB / 386.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3922, allocations: 295.8 kB / 386.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3922, allocations: 36.42 kB / 386.7 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3924, allocations: 217.3 kB / 386.9 MB, free: 6.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.3925, allocations: 98.06 kB / 387 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3926, allocations: 68.58 kB / 387.1 MB, free: 6.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3927, allocations: 343.9 kB / 387.4 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3929, allocations: 88.98 kB / 387.5 MB, free: 6.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.3932, allocations: 221.2 kB / 387.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.3937, allocations: 330.8 kB / 388.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3937, allocations: 1.094 kB / 388.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007989/0.3945, allocations: 409.9 kB / 388.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.3946, allocations: 6.781 kB / 388.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.3946, allocations: 4.641 kB / 388.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/0.395, allocations: 85.05 kB / 388.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3953, allocations: 62.59 kB / 388.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3974, allocations: 2.008 MB / 390.6 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3977, allocations: 35.77 kB / 390.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.3977, allocations: 17.55 kB / 390.7 MB, free: 3.91 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.0002173/0.398, allocations: 171.5 kB / 390.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.398, allocations: 41.02 kB / 390.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.494e-05/0.3981, allocations: 37.81 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3981, allocations: 4.344 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3981, allocations: 0 / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3982, allocations: 3.047 kB / 390.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007115/0.3989, allocations: 0.5632 MB / 391.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3989, allocations: 0 / 391.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.3991, allocations: 28.98 kB / 391.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.3994, allocations: 84.59 kB / 391.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.3994, allocations: 9.422 kB / 391.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.4011, allocations: 1.984 MB / 393.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4011, allocations: 1.188 kB / 393.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.4021, allocations: 0.4984 MB / 394.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4023, allocations: 132 kB / 394.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.4024, allocations: 11.61 kB / 394.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4025, allocations: 21.33 kB / 394.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4026, allocations: 32.11 kB / 394.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.4027, allocations: 15.38 kB / 394.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.403, allocations: 207.3 kB / 394.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.403, allocations: 0 / 394.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006419/0.4036, allocations: 113.9 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.0002155/0.4038, allocations: 111.1 kB / 394.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.4047, allocations: 422.6 kB / 395.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4048, allocations: 0 / 395.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005038/0.4053, allocations: 290.5 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.0004241/0.4057, allocations: 47.89 kB / 395.5 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.4073, allocations: 0.7077 MB / 396.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4078, allocations: 0.804 MB / 397 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.408, allocations: 34.33 kB / 397 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.4081, allocations: 25.77 kB / 397 MB, free: 15.25 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4081, allocations: 0 / 397 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Templates: time 0.01297/0.4211, allocations: 4.833 MB / 401.9 MB, free: 14.34 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