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.001658/0.001658, allocations: 111.5 kB / 17.69 MB, free: 5.438 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.001719/0.001719, allocations: 192 kB / 18.63 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 47.61 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09183, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004701/0.09657, allocations: 3.436 MB / 355 MB, free: 228 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.09825, allocations: 0.8529 MB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.09867, allocations: 7.938 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.099, allocations: 71.3 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.09951, allocations: 122.9 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.09989, allocations: 131.8 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.1005, allocations: 0.5212 MB / 356.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.1008, allocations: 165.9 kB / 356.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.1012, allocations: 203.2 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.1015, allocations: 215 kB / 357.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.1016, allocations: 48 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.1016, allocations: 44 kB / 357.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1018, allocations: 107.7 kB / 357.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.102, allocations: 230.8 kB / 357.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.1025, allocations: 0.5293 MB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1025, allocations: 0 / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1025, allocations: 4 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.1025, allocations: 0 / 358.2 MB, free: 12.98 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.0013/0.1038, allocations: 0.7222 MB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1039, allocations: 12.03 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.104, allocations: 52.36 kB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.1044, allocations: 340.3 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.1045, allocations: 33.38 kB / 359.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.1046, allocations: 36.38 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.1052, allocations: 396 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1053, allocations: 0 / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1053, allocations: 16 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1053, allocations: 8 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.1058, allocations: 263.8 kB / 360 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.1079, allocations: 1.472 MB / 361.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.1084, allocations: 251.3 kB / 361.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.1087, allocations: 177.1 kB / 361.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1088, allocations: 4.234 kB / 361.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.1092, allocations: 226.6 kB / 362.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.1092, allocations: 4 kB / 362.2 MB, free: 8.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001509/0.1107, allocations: 0.5814 MB / 362.7 MB, free: 8.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1108, allocations: 114.8 kB / 362.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.1111, allocations: 288.6 kB / 363.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.1111, allocations: 41.69 kB / 363.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1113, allocations: 220.2 kB / 363.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.1114, allocations: 94.61 kB / 363.5 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1115, allocations: 74.06 kB / 363.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1116, allocations: 338.8 kB / 363.9 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1118, allocations: 96.7 kB / 364 MB, free: 6.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.1121, allocations: 221.5 kB / 364.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004587/0.1126, allocations: 324.7 kB / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1126, allocations: 0 / 364.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007216/0.1133, allocations: 421.5 kB / 364.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1133, allocations: 8 kB / 364.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1134, allocations: 4 kB / 364.9 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002894/0.1136, allocations: 77.25 kB / 365 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1139, allocations: 59.91 kB / 365.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.1158, allocations: 2.01 MB / 367.1 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.116, allocations: 39.67 kB / 367.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.116, allocations: 16 kB / 367.1 MB, free: 3.434 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.0001966/0.1163, allocations: 177.7 kB / 367.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.1163, allocations: 31.62 kB / 367.3 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.1164, allocations: 35.09 kB / 367.4 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1164, allocations: 7.938 kB / 367.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1164, allocations: 0 / 367.4 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1164, allocations: 4 kB / 367.4 MB, free: 3.176 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.117, allocations: 0.5692 MB / 368 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1171, allocations: 0 / 368 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.1172, allocations: 35.95 kB / 368 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.1175, allocations: 72.81 kB / 368.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.1175, allocations: 11.98 kB / 368.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.1193, allocations: 1.979 MB / 370 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1193, allocations: 0 / 370 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.153/0.2724, allocations: 0.4915 MB / 370.5 MB, free: 25.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.2726, allocations: 135.9 kB / 370.7 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.2727, allocations: 7.172 kB / 370.7 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2729, allocations: 17.95 kB / 370.7 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.273, allocations: 24.3 kB / 370.7 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.273, allocations: 15.67 kB / 370.7 MB, free: 25.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.2732, allocations: 208.3 kB / 370.9 MB, free: 25.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.9e-07/0.2732, allocations: 0.9688 kB / 370.9 MB, free: 25.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005482/0.2738, allocations: 117.6 kB / 371.1 MB, free: 25.1 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.0001175/0.2739, allocations: 120.1 kB / 371.2 MB, free: 25.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007469/0.2747, allocations: 422.3 kB / 371.6 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2747, allocations: 1.469 kB / 371.6 MB, free: 24.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.2751, allocations: 279.6 kB / 371.9 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.2754, allocations: 57.91 kB / 371.9 MB, free: 24.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.2767, allocations: 0.6986 MB / 372.6 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.277, allocations: 0.8037 MB / 373.4 MB, free: 23.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.2771, allocations: 32.05 kB / 373.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2772, allocations: 25.17 kB / 373.5 MB, free: 23.75 MB / 302.1 MB Notification: Performance of SimCode: time 1.302e-06/0.2772, allocations: 0.8438 kB / 373.5 MB, free: 23.75 MB / 302.1 MB Notification: Performance of Templates: time 0.009498/0.2867, allocations: 4.766 MB / 378.2 MB, free: 23.6 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 -s gbode -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