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.001604/0.001604, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 56.97 kB / 307 MB, free: 0.6367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1249, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005452/0.1304, allocations: 3.485 MB / 361 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.1324, allocations: 0.9308 MB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.1328, allocations: 8 kB / 361.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1331, allocations: 63.3 kB / 362 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004401/0.1335, allocations: 130.8 kB / 362.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.134, allocations: 155.7 kB / 362.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.1347, allocations: 0.5253 MB / 362.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.135, allocations: 174.1 kB / 362.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.1354, allocations: 207.2 kB / 363.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1357, allocations: 215 kB / 363.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.1357, allocations: 48 kB / 363.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1359, allocations: 48 kB / 363.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.136, allocations: 115.5 kB / 363.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.1362, allocations: 234.8 kB / 363.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.1367, allocations: 0.5294 MB / 364.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1367, allocations: 0 / 364.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1367, allocations: 3.938 kB / 364.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1367, allocations: 3.938 kB / 364.3 MB, free: 7.207 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.00123/0.138, allocations: 0.7456 MB / 365.1 MB, free: 6.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.138, allocations: 8.031 kB / 365.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.1383, allocations: 68.36 kB / 365.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1387, allocations: 344.2 kB / 365.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1388, allocations: 29.38 kB / 365.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.1388, allocations: 44.36 kB / 365.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.1395, allocations: 392 kB / 365.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1395, allocations: 4 kB / 365.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.1396, allocations: 12 kB / 366 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.1396, allocations: 12 kB / 366 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1401, allocations: 263.8 kB / 366.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.1422, allocations: 1.511 MB / 367.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.1426, allocations: 241.1 kB / 368 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.143, allocations: 173.2 kB / 368.1 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.143, allocations: 4.234 kB / 368.1 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.1434, allocations: 230.5 kB / 368.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1434, allocations: 0 / 368.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001492/0.1449, allocations: 0.5822 MB / 369 MB, free: 2.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.145, allocations: 106.8 kB / 369.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.1453, allocations: 316.4 kB / 369.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1454, allocations: 37.69 kB / 369.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1455, allocations: 216.4 kB / 369.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.41e-05/0.1456, allocations: 106.5 kB / 369.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1457, allocations: 66.06 kB / 369.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1459, allocations: 350.8 kB / 370.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1461, allocations: 88.7 kB / 370.2 MB, free: 1.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.1463, allocations: 225.8 kB / 370.4 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004809/0.1468, allocations: 323.1 kB / 370.7 MB, free: 368 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1469, allocations: 0 / 370.7 MB, free: 368 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1552/0.302, allocations: 422.7 kB / 371.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3021, allocations: 6.5 kB / 371.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3021, allocations: 4.406 kB / 371.2 MB, free: 19.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.3025, allocations: 84.97 kB / 371.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3028, allocations: 58.03 kB / 371.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.3045, allocations: 2.001 MB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.3047, allocations: 35.12 kB / 373.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3048, allocations: 16.92 kB / 373.4 MB, free: 18.42 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.0001924/0.305, allocations: 175.1 kB / 373.5 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.305, allocations: 38.58 kB / 373.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.3051, allocations: 40.09 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3051, allocations: 4 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3051, allocations: 0 / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3051, allocations: 3.156 kB / 373.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.3057, allocations: 0.5695 MB / 374.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3058, allocations: 2.906 kB / 374.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.3059, allocations: 32.5 kB / 374.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.3062, allocations: 84.31 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3062, allocations: 8.359 kB / 374.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.3077, allocations: 1.983 MB / 376.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3077, allocations: 8.219 kB / 376.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.3086, allocations: 0.4946 MB / 376.8 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3087, allocations: 141.6 kB / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3087, allocations: 7.984 kB / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3089, allocations: 18.19 kB / 377 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.309, allocations: 28.84 kB / 377 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3091, allocations: 9.125 kB / 377 MB, free: 15.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3093, allocations: 218 kB / 377.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3093, allocations: 0 / 377.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.3098, allocations: 113.3 kB / 377.3 MB, free: 15.81 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.0001316/0.31, allocations: 124.4 kB / 377.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007313/0.3107, allocations: 426.5 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3107, allocations: 0.5156 kB / 377.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3111, allocations: 283.1 kB / 378.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3114, allocations: 64.86 kB / 378.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3126, allocations: 0.7345 MB / 378.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3129, allocations: 0.8146 MB / 379.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.313, allocations: 33.92 kB / 379.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.3131, allocations: 26.33 kB / 379.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3131, allocations: 0 / 379.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Templates: time 0.01115/0.3242, allocations: 4.848 MB / 384.7 MB, free: 13.77 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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches