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.001038/0.001038, allocations: 107.2 kB / 16.92 MB, free: 6.152 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.001043/0.001043, allocations: 187.3 kB / 17.85 MB, free: 5.305 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.356/1.356, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009719/0.0009719, allocations: 46.23 kB / 300.6 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09424, allocations: 49.45 MB / 350.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004212/0.09848, allocations: 3.432 MB / 353.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.09977, allocations: 0.8413 MB / 354.3 MB, free: 112 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.09995, allocations: 11.94 kB / 354.4 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.1001, allocations: 67.3 kB / 354.4 MB, free: 32 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1005, allocations: 123 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1007, allocations: 139.8 kB / 354.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.1013, allocations: 0.5172 MB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.1015, allocations: 166.1 kB / 355.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1018, allocations: 191.2 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.102, allocations: 219 kB / 355.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.1021, allocations: 47.94 kB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.1022, allocations: 44 kB / 355.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1023, allocations: 103.7 kB / 356 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.1025, allocations: 234.8 kB / 356.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.103, allocations: 0.5177 MB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.103, allocations: 3.984 kB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.103, allocations: 0 / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1031, allocations: 3.938 kB / 356.7 MB, free: 13.73 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.001269/0.1043, allocations: 0.7262 MB / 357.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1044, allocations: 11.89 kB / 357.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.1045, allocations: 52.38 kB / 357.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.1049, allocations: 332.2 kB / 357.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1049, allocations: 37.34 kB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.105, allocations: 44.38 kB / 357.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.1056, allocations: 392 kB / 358.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1057, allocations: 0 / 358.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.1057, allocations: 15.98 kB / 358.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1057, allocations: 12 kB / 358.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.1063, allocations: 263.8 kB / 358.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.1083, allocations: 1.488 MB / 360.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004796/0.1088, allocations: 239.4 kB / 360.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.1092, allocations: 177.2 kB / 360.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1092, allocations: 240 / 360.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.1096, allocations: 234.5 kB / 360.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.1096, allocations: 0 / 360.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001544/0.1112, allocations: 0.5853 MB / 361.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1113, allocations: 110.8 kB / 361.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1116, allocations: 296.5 kB / 361.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1116, allocations: 37.7 kB / 361.7 MB, free: 8.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1117, allocations: 220.2 kB / 361.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.1118, allocations: 94.62 kB / 362 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.1119, allocations: 70.06 kB / 362.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.112, allocations: 338.8 kB / 362.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.1122, allocations: 88.7 kB / 362.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.1125, allocations: 229.4 kB / 362.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004748/0.113, allocations: 331.1 kB / 363.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.113, allocations: 0 / 363.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006789/0.1137, allocations: 411.3 kB / 363.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1137, allocations: 6.812 kB / 363.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.1138, allocations: 11.98 kB / 363.5 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.1141, allocations: 84.8 kB / 363.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1143, allocations: 63.95 kB / 363.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.1163, allocations: 1.998 MB / 365.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1166, allocations: 35.69 kB / 365.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1166, allocations: 16.06 kB / 365.7 MB, free: 4.184 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.0001884/0.1168, allocations: 176.6 kB / 365.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.1168, allocations: 31.62 kB / 365.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.1169, allocations: 39.09 kB / 365.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1169, allocations: 4 kB / 365.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1169, allocations: 0 / 365.9 MB, free: 3.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1169, allocations: 4 kB / 365.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005858/0.1175, allocations: 0.5809 MB / 366.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1175, allocations: 0 / 366.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.1177, allocations: 27.98 kB / 366.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/0.118, allocations: 80.8 kB / 366.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.118, allocations: 8 kB / 366.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.1199, allocations: 1.987 MB / 368.6 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1199, allocations: 4.031 kB / 368.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.1208, allocations: 0.4948 MB / 369.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.121, allocations: 136.6 kB / 369.2 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.1211, allocations: 12 kB / 369.2 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1212, allocations: 15.98 kB / 369.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.043e-05/0.1213, allocations: 31.95 kB / 369.3 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1214, allocations: 8 kB / 369.3 MB, free: 304 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.1216, allocations: 207.1 kB / 369.5 MB, free: 100 kB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1216, allocations: 0 / 369.5 MB, free: 100 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.1537/0.2753, allocations: 111.8 kB / 369.6 MB, free: 25.38 MB / 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.0002049/0.2755, allocations: 114.9 kB / 369.7 MB, free: 25.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009319/0.2765, allocations: 433.6 kB / 370.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2765, allocations: 2.75 kB / 370.1 MB, free: 25.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.2769, allocations: 280.7 kB / 370.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.2773, allocations: 60.72 kB / 370.5 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2786, allocations: 0.7121 MB / 371.2 MB, free: 24.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2789, allocations: 0.808 MB / 372 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.279, allocations: 35.73 kB / 372 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.2791, allocations: 28.11 kB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2791, allocations: 0.9688 kB / 372.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of Templates: time 0.009961/0.2891, allocations: 4.746 MB / 376.8 MB, free: 23.83 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/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