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.001593/0.001593, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001818/0.001818, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.328/1.328, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001229/0.00123, allocations: 55.92 kB / 281.3 MB, free: 3.141 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0801/0.08134, allocations: 46.63 MB / 328 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004814/0.08619, allocations: 3.392 MB / 331.4 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.08797, allocations: 0.8695 MB / 332.2 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.08834, allocations: 7.938 kB / 332.2 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.08865, allocations: 71.3 kB / 332.3 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004582/0.08912, allocations: 118.9 kB / 332.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.08949, allocations: 139.8 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.09006, allocations: 0.498 MB / 333.1 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.09038, allocations: 178.1 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.09065, allocations: 195.2 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.09096, allocations: 211 kB / 333.6 MB, free: 14.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.09105, allocations: 44 kB / 333.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.09114, allocations: 44 kB / 333.7 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.09125, allocations: 99.67 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.09148, allocations: 230.9 kB / 334 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.09201, allocations: 0.506 MB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.09202, allocations: 0 / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09204, allocations: 3.938 kB / 334.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.09206, allocations: 8 kB / 334.6 MB, free: 13.81 MB / 286.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.001444/0.09351, allocations: 0.7222 MB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.09356, allocations: 8.031 kB / 335.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.09367, allocations: 52.38 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.0941, allocations: 336.3 kB / 335.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.09414, allocations: 21.38 kB / 335.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.09421, allocations: 40.38 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.0949, allocations: 387.3 kB / 336.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.09493, allocations: 7.891 kB / 336.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.09498, allocations: 19.98 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.095, allocations: 16 kB / 336.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.09553, allocations: 254.4 kB / 336.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.0977, allocations: 1.471 MB / 337.9 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.09815, allocations: 235.4 kB / 338.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.09853, allocations: 173.2 kB / 338.3 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.09858, allocations: 8.219 kB / 338.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.09899, allocations: 237.9 kB / 338.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.09901, allocations: 0 / 338.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001563/0.1006, allocations: 0.5809 MB / 339.1 MB, free: 9.012 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.1007, allocations: 110.8 kB / 339.2 MB, free: 8.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.101, allocations: 292.5 kB / 339.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.101, allocations: 33.7 kB / 339.5 MB, free: 8.551 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1012, allocations: 212.4 kB / 339.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-05/0.1013, allocations: 98.64 kB / 339.8 MB, free: 8.242 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1014, allocations: 74.02 kB / 339.9 MB, free: 8.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1016, allocations: 346.8 kB / 340.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.1018, allocations: 88.7 kB / 340.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.102, allocations: 221.5 kB / 340.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.1025, allocations: 323.1 kB / 340.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1026, allocations: 3.938 kB / 340.8 MB, free: 7.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000748/0.1033, allocations: 409.5 kB / 341.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1033, allocations: 8.5 kB / 341.3 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1034, allocations: 8 kB / 341.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.1037, allocations: 80.8 kB / 341.3 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.1039, allocations: 63.84 kB / 341.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.106, allocations: 2.01 MB / 343.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1063, allocations: 39.67 kB / 343.5 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1063, allocations: 16 kB / 343.5 MB, free: 4.297 MB / 286.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.0002202/0.1065, allocations: 169.7 kB / 343.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1066, allocations: 39.55 kB / 343.7 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.1067, allocations: 39.09 kB / 343.7 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1067, allocations: 4 kB / 343.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1067, allocations: 0 / 343.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1067, allocations: 4 kB / 343.7 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.1074, allocations: 0.5576 MB / 344.3 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1074, allocations: 0 / 344.3 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.1076, allocations: 39.94 kB / 344.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1078, allocations: 72.81 kB / 344.4 MB, free: 3.309 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.1079, allocations: 8 kB / 344.4 MB, free: 3.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.1098, allocations: 1.998 MB / 346.4 MB, free: 1.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.1098, allocations: 4.031 kB / 346.4 MB, free: 1.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.1107, allocations: 498.7 kB / 346.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1108, allocations: 132.7 kB / 347 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.1109, allocations: 11.94 kB / 347 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1111, allocations: 16.08 kB / 347 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.1112, allocations: 27.95 kB / 347.1 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.1112, allocations: 12 kB / 347.1 MB, free: 444 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1114, allocations: 207.1 kB / 347.3 MB, free: 240 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1114, allocations: 4 kB / 347.3 MB, free: 236 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.1119, allocations: 111.7 kB / 347.4 MB, free: 124 kB / 286.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.0001394/0.1121, allocations: 111.2 kB / 347.5 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008804/0.113, allocations: 434.5 kB / 347.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.113, allocations: 0 / 347.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.1134, allocations: 287.5 kB / 348.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1138, allocations: 61.33 kB / 348.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1151, allocations: 0.7444 MB / 349 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1155, allocations: 0.8028 MB / 349.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.1156, allocations: 31.44 kB / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1156, allocations: 0 / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of Templates: time 0.008414/0.124, allocations: 5.865 MB / 355.7 MB, free: 7.699 MB / 302.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/jenkins1/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/jenkins1/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