Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 163.3 kB / 25.02 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.39e-05, allocations: 2.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006024/0.006058, allocations: 3.375 MB / 253.8 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.008373, allocations: 1.014 MB / 254.8 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.008596, allocations: 15.88 kB / 254.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.008925, allocations: 111.1 kB / 254.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009017/0.009827, allocations: 250.3 kB / 255.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.01018, allocations: 155.6 kB / 255.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.01142, allocations: 0.988 MB / 256.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.01196, allocations: 298.9 kB / 256.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000784/0.01275, allocations: 0.5847 MB / 257.2 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.01348, allocations: 446.9 kB / 257.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.01363, allocations: 104 kB / 257.7 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.01381, allocations: 96 kB / 257.8 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.01413, allocations: 287.1 kB / 258.1 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.01455, allocations: 319.3 kB / 258.4 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.01615, allocations: 1.305 MB / 259.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01616, allocations: 0 / 259.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.01616, allocations: 0 / 259.7 MB, free: 10.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.01617, allocations: 0 / 259.7 MB, free: 10.55 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002543/0.01872, allocations: 1.279 MB / 261 MB, free: 9.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.01876, allocations: 11.98 kB / 261 MB, free: 9.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.01905, allocations: 156.3 kB / 261.1 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.02007, allocations: 0.5552 MB / 261.7 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.02012, allocations: 49.69 kB / 261.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.02025, allocations: 64.38 kB / 261.8 MB, free: 8.371 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.02198, allocations: 0.9439 MB / 262.7 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.02201, allocations: 3.953 kB / 262.8 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.02209, allocations: 28 kB / 262.8 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.637e-05/0.02213, allocations: 25.31 kB / 262.8 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.02364, allocations: 0.7936 MB / 263.6 MB, free: 6.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.028, allocations: 2.427 MB / 266 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009358/0.02893, allocations: 495.5 kB / 266.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.02958, allocations: 321.2 kB / 266.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.02961, allocations: 8.328 kB / 266.8 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007396/0.03035, allocations: 403.7 kB / 267.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.03035, allocations: 0 / 267.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.003098/0.03345, allocations: 1.137 MB / 268.4 MB, free: 1.648 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.03355, allocations: 114.8 kB / 268.5 MB, free: 1.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.03437, allocations: 0.5487 MB / 269 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.03443, allocations: 37.7 kB / 269.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.03479, allocations: 360.6 kB / 269.4 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.03495, allocations: 142.8 kB / 269.5 MB, free: 420 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.03513, allocations: 90.14 kB / 269.6 MB, free: 324 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.03538, allocations: 374.7 kB / 270 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.03583, allocations: 212.9 kB / 270.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.03642, allocations: 382.8 kB / 270.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.03742, allocations: 0.5691 MB / 271.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03742, allocations: 0 / 271.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001485/0.03891, allocations: 0.7632 MB / 271.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.03893, allocations: 4 kB / 271.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.03894, allocations: 4 kB / 271.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.03951, allocations: 203.4 kB / 272.1 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.03985, allocations: 87.77 kB / 272.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.04375, allocations: 2.787 MB / 275 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.0441, allocations: 55.66 kB / 275.1 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.04415, allocations: 27.98 kB / 275.1 MB, free: 10.63 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006256/0.04478, allocations: 325.4 kB / 275.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.04491, allocations: 67.67 kB / 275.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.04506, allocations: 65.2 kB / 275.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.04507, allocations: 7.984 kB / 275.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.04508, allocations: 7.938 kB / 275.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.04508, allocations: 144 / 275.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.04759, allocations: 1.429 MB / 277 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.0476, allocations: 0 / 277 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.04786, allocations: 51.91 kB / 277 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.04833, allocations: 195 kB / 277.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.04836, allocations: 7.984 kB / 277.2 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.0521, allocations: 2.773 MB / 280 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0521, allocations: 0 / 280 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.05413, allocations: 1.119 MB / 281.1 MB, free: 4.418 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.05442, allocations: 115.6 kB / 281.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.05449, allocations: 8 kB / 281.2 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.05482, allocations: 27.97 kB / 281.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.05497, allocations: 47.91 kB / 281.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.05501, allocations: 15.98 kB / 281.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005797/0.05559, allocations: 402.8 kB / 281.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05559, allocations: 0 / 281.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008173/0.0564, allocations: 203.5 kB / 281.9 MB, free: 3.617 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001818/0.05659, allocations: 115.2 kB / 282 MB, free: 3.492 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.05802, allocations: 0.7238 MB / 282.8 MB, free: 2.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.05802, allocations: 4 kB / 282.8 MB, free: 2.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007841/0.0588, allocations: 462.6 kB / 283.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.05954, allocations: 137.8 kB / 283.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.06255, allocations: 1.514 MB / 284.9 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/0.06318, allocations: 481.9 kB / 285.3 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.06346, allocations: 88.64 kB / 285.4 MB, free: 24 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.06361, allocations: 48.53 kB / 285.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06361, allocations: 0 / 285.5 MB, free: 15.97 MB / 282.7 MB Notification: Performance of Templates: time 0.02021/0.08383, allocations: 9.558 MB / 295 MB, free: 6.438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.731874148012139]