Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001748/0.001749, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.73 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1019, allocations: 50.54 MB / 358.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005329/0.1072, allocations: 3.477 MB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.109, allocations: 0.9269 MB / 362.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1092, allocations: 11.94 kB / 362.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.1095, allocations: 67.3 kB / 362.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1098, allocations: 130.8 kB / 363.1 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1102, allocations: 155.8 kB / 363.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.1108, allocations: 0.5136 MB / 363.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.1111, allocations: 174.1 kB / 363.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.1114, allocations: 207.2 kB / 364.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1118, allocations: 219 kB / 364.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.1118, allocations: 44 kB / 364.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.112, allocations: 52 kB / 364.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1121, allocations: 111.5 kB / 364.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.1123, allocations: 238.8 kB / 364.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.113, allocations: 0.5293 MB / 365.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.113, allocations: 0 / 365.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.113, allocations: 7.938 kB / 365.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.113, allocations: 0 / 365.3 MB, free: 7.047 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.001459/0.1145, allocations: 0.7417 MB / 366 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1146, allocations: 8.031 kB / 366 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.1149, allocations: 72.34 kB / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.1154, allocations: 348.2 kB / 366.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.1154, allocations: 29.36 kB / 366.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.1155, allocations: 48.31 kB / 366.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.1162, allocations: 392 kB / 366.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1162, allocations: 4 kB / 366.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.1163, allocations: 12 kB / 366.9 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1163, allocations: 12 kB / 366.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.1169, allocations: 259.8 kB / 367.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.1194, allocations: 1.511 MB / 368.7 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.1198, allocations: 241.1 kB / 368.9 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.1202, allocations: 165.2 kB / 369.1 MB, free: 3.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.1203, allocations: 12.22 kB / 369.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.1207, allocations: 229.9 kB / 369.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.1208, allocations: 0 / 369.3 MB, free: 2.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001666/0.1224, allocations: 0.5856 MB / 369.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.1225, allocations: 110.8 kB / 370 MB, free: 2.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.1229, allocations: 312.5 kB / 370.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.123, allocations: 29.7 kB / 370.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.1232, allocations: 220.4 kB / 370.6 MB, free: 1.457 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.58e-05/0.1233, allocations: 106.5 kB / 370.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1234, allocations: 70.08 kB / 370.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1236, allocations: 338.8 kB / 371.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.1238, allocations: 100.7 kB / 371.2 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.1241, allocations: 217.7 kB / 371.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.1247, allocations: 334.3 kB / 371.7 MB, free: 192 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1247, allocations: 0 / 371.7 MB, free: 192 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1605/0.2852, allocations: 409.7 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.2853, allocations: 9.125 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2853, allocations: 4 kB / 372.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.2856, allocations: 90.38 kB / 372.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.2859, allocations: 59.73 kB / 372.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.2875, allocations: 1.998 MB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2878, allocations: 35.86 kB / 374.3 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2878, allocations: 20.38 kB / 374.3 MB, free: 18.32 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.000177/0.288, allocations: 170 kB / 374.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.2881, allocations: 32.58 kB / 374.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.2881, allocations: 39.25 kB / 374.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2882, allocations: 7.469 kB / 374.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2882, allocations: 0 / 374.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2882, allocations: 3.688 kB / 374.6 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.2888, allocations: 0.5768 MB / 375.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2888, allocations: 1.688 kB / 375.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.289, allocations: 27.8 kB / 375.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002391/0.2892, allocations: 87.38 kB / 375.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.2892, allocations: 7.578 kB / 375.3 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.2907, allocations: 1.99 MB / 377.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2907, allocations: 5.297 kB / 377.3 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009115/0.2916, allocations: 0.4906 MB / 377.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2918, allocations: 133.6 kB / 377.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.2918, allocations: 7.312 kB / 377.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.292, allocations: 14.58 kB / 377.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.2921, allocations: 32.78 kB / 377.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2922, allocations: 9.688 kB / 378 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.2924, allocations: 224.5 kB / 378.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2924, allocations: 0 / 378.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000542/0.293, allocations: 113.8 kB / 378.3 MB, free: 15.65 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.0001389/0.2931, allocations: 115.7 kB / 378.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008474/0.294, allocations: 433.8 kB / 378.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.294, allocations: 2.656 kB / 378.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.2944, allocations: 284.9 kB / 379.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2947, allocations: 65.23 kB / 379.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2959, allocations: 0.7541 MB / 379.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2962, allocations: 0.8158 MB / 380.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.2962, allocations: 26.81 kB / 380.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2963, allocations: 0 / 380.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Templates: time 0.009315/0.3056, allocations: 6.119 MB / 386.9 MB, free: 12.74 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches