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.0009454/0.0009454, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002271, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009252/0.0009252, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.00214, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8988/0.8988, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1474/1.046, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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 2.525e-06/2.525e-06, allocations: 0 / 221.9 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.301e-05, allocations: 2.312 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005592/0.005625, allocations: 3.626 MB / 225.5 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.01139, allocations: 1.087 MB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.0118, allocations: 19.88 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.01207, allocations: 107.1 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.0129, allocations: 242.3 kB / 226.9 MB, free: 11.03 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.01326, allocations: 155.6 kB / 227.1 MB, free: 10.88 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.0143, allocations: 0.9881 MB / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.01479, allocations: 310.9 kB / 228.4 MB, free: 9.566 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008849/0.01568, allocations: 0.6599 MB / 229 MB, free: 8.906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.01634, allocations: 470.9 kB / 229.5 MB, free: 8.445 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.01648, allocations: 100 kB / 229.6 MB, free: 8.348 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.01663, allocations: 100 kB / 229.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.01686, allocations: 239.3 kB / 229.9 MB, free: 8.016 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.01719, allocations: 267.5 kB / 230.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.01794, allocations: 0.7049 MB / 230.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.01796, allocations: 0 / 230.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01796, allocations: 0 / 230.9 MB, free: 7.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.01798, allocations: 4 kB / 230.9 MB, free: 7.043 MB / 234.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.001742/0.01972, allocations: 1.185 MB / 232.1 MB, free: 5.832 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01975, allocations: 12.03 kB / 232.1 MB, free: 5.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.01994, allocations: 112.8 kB / 232.2 MB, free: 5.711 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.02051, allocations: 375.2 kB / 232.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.02055, allocations: 53.69 kB / 232.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.02065, allocations: 64.38 kB / 232.7 MB, free: 5.203 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.02148, allocations: 0.5373 MB / 233.2 MB, free: 4.633 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.0215, allocations: 0 / 233.2 MB, free: 4.633 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.02156, allocations: 24 kB / 233.2 MB, free: 4.609 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-05/0.0216, allocations: 29.31 kB / 233.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.02195, allocations: 165 kB / 233.4 MB, free: 4.422 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.0244, allocations: 1.728 MB / 235.2 MB, free: 2.617 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.02478, allocations: 231.3 kB / 235.4 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.02501, allocations: 109.5 kB / 235.5 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.02504, allocations: 12.27 kB / 235.5 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003498/0.02539, allocations: 239.4 kB / 235.7 MB, free: 2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.0254, allocations: 0 / 235.7 MB, free: 2 MB / 234.7 MB Notification: Performance of matching and sorting (n=43): time 0.001276/0.02667, allocations: 445.7 kB / 236.2 MB, free: 1.555 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.02672, allocations: 85.05 kB / 236.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.02709, allocations: 403.2 kB / 236.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.02713, allocations: 33.7 kB / 236.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.02733, allocations: 305.5 kB / 237 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02744, allocations: 142.8 kB / 237.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.02757, allocations: 98.08 kB / 237.2 MB, free: 480 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.02774, allocations: 366.7 kB / 237.6 MB, free: 104 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.02784, allocations: 40.98 kB / 237.6 MB, free: 64 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.02804, allocations: 199 kB / 237.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.02837, allocations: 277.6 kB / 238.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.02838, allocations: 4 kB / 238.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003549/0.02873, allocations: 312.4 kB / 238.4 MB, free: 15.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.02875, allocations: 8 kB / 238.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02876, allocations: 4 kB / 238.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.02898, allocations: 92.09 kB / 238.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.0292, allocations: 87.84 kB / 238.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.03044, allocations: 1.829 MB / 240.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.03059, allocations: 47.72 kB / 240.5 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.03061, allocations: 16 kB / 240.5 MB, free: 12.98 MB / 250.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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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.0002666/0.03088, allocations: 152.5 kB / 240.6 MB, free: 12.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.03093, allocations: 43.95 kB / 240.7 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.031, allocations: 61.14 kB / 240.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.031, allocations: 12 kB / 240.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.031, allocations: 7.984 kB / 240.7 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.03101, allocations: 0 / 240.7 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.03175, allocations: 0.7288 MB / 241.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.03175, allocations: 0 / 241.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.03188, allocations: 55.91 kB / 241.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.03198, allocations: 71.55 kB / 241.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/0.03215, allocations: 79.66 kB / 241.7 MB, free: 11.72 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.03217, allocations: 11.98 kB / 241.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.03331, allocations: 1.823 MB / 243.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03331, allocations: 0 / 243.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.0337, allocations: 431.2 kB / 243.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.03375, allocations: 12 kB / 243.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.03387, allocations: 15.98 kB / 244 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.03393, allocations: 39.7 kB / 244 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.03395, allocations: 12 kB / 244 MB, free: 9.277 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004494/0.0344, allocations: 176.4 kB / 244.2 MB, free: 9.105 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0344, allocations: 4 kB / 244.2 MB, free: 9.102 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.0348, allocations: 211.5 kB / 244.4 MB, free: 8.895 MB / 250.7 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001104/0.03491, allocations: 96.28 kB / 244.5 MB, free: 8.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.03534, allocations: 387.4 kB / 244.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.03536, allocations: 8 kB / 244.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.03565, allocations: 298.9 kB / 245.2 MB, free: 8.086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.03602, allocations: 186.7 kB / 245.3 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.03992, allocations: 1.371 MB / 246.7 MB, free: 6.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.04006, allocations: 210.2 kB / 246.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.0402, allocations: 56.67 kB / 247 MB, free: 6.207 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.04041, allocations: 169.3 kB / 247.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04041, allocations: 0 / 247.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of Templates: time 0.01221/0.05262, allocations: 10.6 MB / 257.7 MB, free: 11.46 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.661286606453359]