Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 117.3 kB / 17.98 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.64 kB / 307.1 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09499, allocations: 50.54 MB / 357.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004956/0.09999, allocations: 3.517 MB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1018, allocations: 0.923 MB / 362.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.1022, allocations: 8 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1025, allocations: 43.62 kB / 362.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.1029, allocations: 115.1 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1033, allocations: 139.8 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.104, allocations: 0.5136 MB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.1043, allocations: 178.1 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.1046, allocations: 207.2 kB / 363.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1049, allocations: 223 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.952e-05/0.105, allocations: 44 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1051, allocations: 55.98 kB / 363.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1052, allocations: 103.6 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1055, allocations: 234.9 kB / 363.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1059, allocations: 419 kB / 364.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1059, allocations: 4 kB / 364.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1059, allocations: 0 / 364.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.106, allocations: 7.938 kB / 364.4 MB, free: 7.586 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.001301/0.1073, allocations: 0.7416 MB / 365.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1073, allocations: 8.031 kB / 365.1 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.1076, allocations: 68.36 kB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.1081, allocations: 348.2 kB / 365.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.1081, allocations: 29.38 kB / 365.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.1082, allocations: 36.38 kB / 365.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.1088, allocations: 396 kB / 366 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1089, allocations: 11.88 kB / 366 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.1089, allocations: 12 kB / 366 MB, free: 5.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1089, allocations: 8 kB / 366 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.1095, allocations: 267.8 kB / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1118, allocations: 1.504 MB / 367.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.1122, allocations: 243.4 kB / 368 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.1126, allocations: 173.2 kB / 368.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.1126, allocations: 4.234 kB / 368.2 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.113, allocations: 226 kB / 368.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.113, allocations: 0 / 368.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001519/0.1146, allocations: 0.5849 MB / 369 MB, free: 2.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1147, allocations: 106.8 kB / 369.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.115, allocations: 308.5 kB / 369.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.1151, allocations: 41.73 kB / 369.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1152, allocations: 216.4 kB / 369.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.1153, allocations: 102.5 kB / 369.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1154, allocations: 74 kB / 369.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1156, allocations: 342.8 kB / 370.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1158, allocations: 96.64 kB / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.1161, allocations: 221.8 kB / 370.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.1166, allocations: 331.1 kB / 370.8 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1166, allocations: 4 kB / 370.8 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007644/0.1174, allocations: 413 kB / 371.2 MB, free: 328 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1174, allocations: 8 kB / 371.2 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1174, allocations: 4 kB / 371.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.1177, allocations: 80.75 kB / 371.3 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.118, allocations: 59.91 kB / 371.3 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/0.2798, allocations: 2.003 MB / 373.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.2802, allocations: 32.36 kB / 373.4 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.2802, allocations: 17.69 kB / 373.4 MB, free: 18.56 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.0001883/0.2804, allocations: 176.6 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.2805, allocations: 36.14 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.2805, allocations: 44 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2806, allocations: 6.203 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2806, allocations: 2.75 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2806, allocations: 2.203 kB / 373.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.2812, allocations: 0.5691 MB / 374.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2812, allocations: 0.5156 kB / 374.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2814, allocations: 32.81 kB / 374.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.2816, allocations: 87.02 kB / 374.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.2817, allocations: 7.328 kB / 374.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.2832, allocations: 1.995 MB / 376.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2832, allocations: 0 / 376.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.2841, allocations: 0.4986 MB / 376.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.2843, allocations: 136.4 kB / 377 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.2843, allocations: 7.172 kB / 377 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.2845, allocations: 17.75 kB / 377 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.2846, allocations: 29.86 kB / 377 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.2846, allocations: 15.86 kB / 377 MB, free: 16.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.2849, allocations: 217.3 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2849, allocations: 1 kB / 377.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005425/0.2854, allocations: 115 kB / 377.4 MB, free: 16 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.0001491/0.2856, allocations: 122.8 kB / 377.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.2864, allocations: 425.4 kB / 377.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2864, allocations: 0 / 377.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.2868, allocations: 288.2 kB / 378.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.2871, allocations: 61.27 kB / 378.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2883, allocations: 0.9063 MB / 379.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2886, allocations: 0.8239 MB / 380 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.2886, allocations: 28 kB / 380 MB, free: 14.16 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2886, allocations: 0 / 380 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Templates: time 0.009054/0.2977, allocations: 6.107 MB / 386.1 MB, free: 12.97 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches