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.001028/0.001028, allocations: 115.5 kB / 16.63 MB, free: 6.812 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.001092/0.001092, allocations: 186 kB / 17.55 MB, free: 5.934 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.318/1.318, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009917/0.0009918, allocations: 46.97 kB / 300.1 MB, free: 6.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08926/0.09027, allocations: 49.45 MB / 349.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004598/0.09491, allocations: 3.466 MB / 353.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.0962, allocations: 0.8452 MB / 353.9 MB, free: 400 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.09638, allocations: 7.938 kB / 353.9 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.0966, allocations: 51.61 kB / 354 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.09691, allocations: 95.17 kB / 354.1 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.0972, allocations: 131.8 kB / 354.2 MB, free: 112 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.0977, allocations: 0.5057 MB / 354.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.09799, allocations: 170.1 kB / 354.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.09822, allocations: 203.2 kB / 355.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.09847, allocations: 215 kB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.09854, allocations: 44 kB / 355.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.09861, allocations: 48 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.09871, allocations: 103.6 kB / 355.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.09892, allocations: 226.9 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.0994, allocations: 0.5216 MB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09941, allocations: 3.938 kB / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09942, allocations: 0 / 356.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.09943, allocations: 0 / 356.2 MB, free: 14.08 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.001168/0.1006, allocations: 0.7329 MB / 356.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1007, allocations: 8.031 kB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.1007, allocations: 48.38 kB / 357 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1011, allocations: 336.3 kB / 357.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1012, allocations: 29.38 kB / 357.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.1012, allocations: 44.36 kB / 357.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.1019, allocations: 396 kB / 357.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1019, allocations: 0 / 357.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.102, allocations: 16 kB / 357.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.102, allocations: 12 kB / 357.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.1025, allocations: 259.8 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1047, allocations: 1.492 MB / 359.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.1051, allocations: 241.2 kB / 359.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.1055, allocations: 169.2 kB / 360 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1055, allocations: 8.219 kB / 360 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.1059, allocations: 230 kB / 360.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.1059, allocations: 0 / 360.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00151/0.1075, allocations: 0.5771 MB / 360.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.1075, allocations: 114.7 kB / 360.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.1078, allocations: 288.6 kB / 361.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.1079, allocations: 33.7 kB / 361.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.108, allocations: 224.2 kB / 361.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.1081, allocations: 98.64 kB / 361.5 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1082, allocations: 73.95 kB / 361.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1084, allocations: 346.8 kB / 361.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1086, allocations: 92.7 kB / 362 MB, free: 7.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1088, allocations: 221.5 kB / 362.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.1093, allocations: 320.7 kB / 362.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1093, allocations: 4 kB / 362.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000689/0.11, allocations: 413.6 kB / 362.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.11, allocations: 8.031 kB / 362.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1101, allocations: 8 kB / 363 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.1104, allocations: 88.73 kB / 363 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1106, allocations: 59.91 kB / 363.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.1126, allocations: 2.006 MB / 365.1 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1128, allocations: 43.67 kB / 365.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.1129, allocations: 12 kB / 365.2 MB, free: 4.535 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.0001928/0.1131, allocations: 178.2 kB / 365.3 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1131, allocations: 35.61 kB / 365.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.1132, allocations: 35.11 kB / 365.4 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1132, allocations: 7.984 kB / 365.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1132, allocations: 0 / 365.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1132, allocations: 0 / 365.4 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.1138, allocations: 0.5653 MB / 366 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1139, allocations: 8.172 kB / 366 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.114, allocations: 28.02 kB / 366 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.1143, allocations: 84.69 kB / 366.1 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1143, allocations: 7.984 kB / 366.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.1161, allocations: 1.994 MB / 368.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1162, allocations: 0 / 368.1 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.1171, allocations: 0.4948 MB / 368.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1172, allocations: 140.6 kB / 368.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.1172, allocations: 8 kB / 368.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.1174, allocations: 19.92 kB / 368.8 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.1175, allocations: 19.97 kB / 368.8 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1175, allocations: 11.98 kB / 368.8 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1178, allocations: 211.1 kB / 369 MB, free: 456 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1178, allocations: 4 kB / 369 MB, free: 452 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.1182, allocations: 111.7 kB / 369.1 MB, free: 340 kB / 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.0001411/0.1184, allocations: 115.2 kB / 369.2 MB, free: 216 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1889/0.3073, allocations: 426.7 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3073, allocations: 1 kB / 369.6 MB, free: 25.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.3078, allocations: 284.6 kB / 369.9 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3083, allocations: 61.17 kB / 370 MB, free: 25.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.3096, allocations: 0.8624 MB / 370.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3099, allocations: 0.8053 MB / 371.6 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.31, allocations: 35 kB / 371.7 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.3101, allocations: 24.36 kB / 371.7 MB, free: 24.28 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3101, allocations: 0.5625 kB / 371.7 MB, free: 24.28 MB / 302.1 MB Notification: Performance of Templates: time 0.009404/0.3195, allocations: 4.658 MB / 376.4 MB, free: 24.13 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