Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001463/0.001463, allocations: 101.6 kB / 17.59 MB, free: 5.426 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.001641/0.001641, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 46.86 kB / 301.3 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08873, allocations: 49.45 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004894/0.09366, allocations: 3.448 MB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.09538, allocations: 0.8413 MB / 355 MB, free: 124 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.09574, allocations: 12 kB / 355 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.09603, allocations: 63.3 kB / 355.1 MB, free: 48 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.09657, allocations: 122.9 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.09698, allocations: 147.7 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.09763, allocations: 0.5135 MB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.09795, allocations: 166.1 kB / 356 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002904/0.09825, allocations: 195.2 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.09857, allocations: 215 kB / 356.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/0.09867, allocations: 48 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.09877, allocations: 44 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.09888, allocations: 107.6 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.09912, allocations: 234.8 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.09962, allocations: 0.5177 MB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09964, allocations: 0 / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.09964, allocations: 0 / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.09967, allocations: 0 / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001455/0.1011, allocations: 0.7262 MB / 358.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1012, allocations: 8.031 kB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1013, allocations: 56.38 kB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.1017, allocations: 336.3 kB / 358.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1018, allocations: 33.38 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.1019, allocations: 36.38 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.1025, allocations: 396 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.1026, allocations: 7.969 kB / 359 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1026, allocations: 12 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1026, allocations: 8 kB / 359 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.1031, allocations: 267.8 kB / 359.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1053, allocations: 1.492 MB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.1057, allocations: 242.3 kB / 361 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.1061, allocations: 173.2 kB / 361.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1061, allocations: 4.234 kB / 361.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.1065, allocations: 226.6 kB / 361.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.1066, allocations: 4 kB / 361.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00152/0.1081, allocations: 0.5854 MB / 362 MB, free: 8.918 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.1082, allocations: 114.8 kB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.1085, allocations: 300.5 kB / 362.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1085, allocations: 29.7 kB / 362.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1087, allocations: 220.2 kB / 362.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.1088, allocations: 98.61 kB / 362.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1089, allocations: 70.06 kB / 362.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.109, allocations: 346.8 kB / 363.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.1092, allocations: 88.7 kB / 363.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1095, allocations: 221.5 kB / 363.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.1099, allocations: 326.7 kB / 363.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.11, allocations: 4 kB / 363.7 MB, free: 6.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006952/0.1107, allocations: 413.4 kB / 364.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1107, allocations: 4.5 kB / 364.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1107, allocations: 4 kB / 364.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.111, allocations: 84.81 kB / 364.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1112, allocations: 59.91 kB / 364.3 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.1131, allocations: 2.01 MB / 366.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.1134, allocations: 35.67 kB / 366.3 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1134, allocations: 16 kB / 366.4 MB, free: 4.195 MB / 302.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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.0001768/0.1136, allocations: 169.7 kB / 366.5 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1137, allocations: 39.69 kB / 366.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.1138, allocations: 39.09 kB / 366.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1138, allocations: 4 kB / 366.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1138, allocations: 3.938 kB / 366.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1138, allocations: 3.984 kB / 366.6 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.1144, allocations: 0.5693 MB / 367.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1144, allocations: 0 / 367.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1146, allocations: 35.91 kB / 367.2 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.1148, allocations: 76.84 kB / 367.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1149, allocations: 8 kB / 367.3 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.1166, allocations: 1.982 MB / 369.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1166, allocations: 0 / 369.3 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.1175, allocations: 0.4949 MB / 369.8 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.1176, allocations: 144.6 kB / 369.9 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.377e-05/0.1177, allocations: 12.28 kB / 369.9 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1179, allocations: 15.98 kB / 369.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.118, allocations: 23.97 kB / 370 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.118, allocations: 7.938 kB / 370 MB, free: 324 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1182, allocations: 211.1 kB / 370.2 MB, free: 116 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1182, allocations: 0 / 370.2 MB, free: 116 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.1187, allocations: 115.7 kB / 370.3 MB, free: 0 / 302.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0002518/0.2793, allocations: 118.7 kB / 370.4 MB, free: 25.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.2805, allocations: 428.9 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.2805, allocations: 0.75 kB / 370.8 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.281, allocations: 282.9 kB / 371.1 MB, free: 25.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.2815, allocations: 62.25 kB / 371.2 MB, free: 25.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2831, allocations: 0.7394 MB / 371.9 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.2834, allocations: 0.8022 MB / 372.7 MB, free: 24.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2835, allocations: 39.14 kB / 372.7 MB, free: 24 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2835, allocations: 0 / 372.7 MB, free: 24 MB / 302.1 MB Notification: Performance of Templates: time 0.01103/0.2946, allocations: 5.92 MB / 378.7 MB, free: 23.29 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches