Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001917/0.001917, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002237/0.002237, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.077e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007277/0.007307, allocations: 4.205 MB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.01047, allocations: 1.285 MB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.01111, allocations: 27.81 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.01176, allocations: 178.6 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.01331, allocations: 377.5 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007211/0.01403, allocations: 223.5 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.01648, allocations: 1.673 MB / 280.3 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.01765, allocations: 0.5677 MB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.01977, allocations: 1.025 MB / 281.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.02139, allocations: 0.7832 MB / 282.7 MB, free: 7.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.0217, allocations: 176 kB / 282.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.02211, allocations: 180 kB / 283 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.02267, allocations: 0.4946 MB / 283.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.0237, allocations: 0.5534 MB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.02653, allocations: 2.314 MB / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.02653, allocations: 0 / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02653, allocations: 0 / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.02656, allocations: 0 / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004397/0.03096, allocations: 2.053 MB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.031, allocations: 8.031 kB / 288.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.03202, allocations: 295.9 kB / 288.7 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001896/0.03392, allocations: 1.013 MB / 289.7 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/0.03401, allocations: 82.44 kB / 289.8 MB, free: 152 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.03421, allocations: 104.3 kB / 289.9 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1237/0.1579, allocations: 1.58 MB / 291.5 MB, free: 27.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1579, allocations: 1.156 kB / 291.5 MB, free: 27.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.158, allocations: 41.84 kB / 291.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/0.1581, allocations: 44.7 kB / 291.6 MB, free: 27.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.1604, allocations: 1.436 MB / 293 MB, free: 26.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/0.1664, allocations: 4.369 MB / 297.4 MB, free: 24.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.1678, allocations: 0.9265 MB / 298.3 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.169, allocations: 0.6912 MB / 299 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.1691, allocations: 12.44 kB / 299 MB, free: 23.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009121/0.17, allocations: 0.6389 MB / 299.7 MB, free: 23.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.17, allocations: 3.375 kB / 299.7 MB, free: 23.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.005355/0.1753, allocations: 2.379 MB / 302 MB, free: 22.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1754, allocations: 86.42 kB / 302.1 MB, free: 22.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.1764, allocations: 0.9275 MB / 303.1 MB, free: 21.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.1764, allocations: 41.92 kB / 303.1 MB, free: 21.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.1767, allocations: 0.5467 MB / 303.6 MB, free: 21.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.1768, allocations: 239.6 kB / 303.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.177, allocations: 135.2 kB / 304 MB, free: 21.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.1771, allocations: 329.3 kB / 304.3 MB, free: 20.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.1776, allocations: 414.5 kB / 304.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.1783, allocations: 0.5799 MB / 305.3 MB, free: 20.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.1794, allocations: 0.949 MB / 306.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1794, allocations: 4 kB / 306.3 MB, free: 19.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001723/0.1811, allocations: 1.319 MB / 307.6 MB, free: 18.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1811, allocations: 8 kB / 307.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1811, allocations: 4 kB / 307.6 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/0.1819, allocations: 397.3 kB / 308 MB, free: 17.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.1823, allocations: 115.8 kB / 308.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.1864, allocations: 4.34 MB / 312.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.1869, allocations: 79.78 kB / 312.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.187, allocations: 20 kB / 312.5 MB, free: 13.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.1875, allocations: 0.4997 MB / 313 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.1876, allocations: 127.3 kB / 313.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1878, allocations: 122.9 kB / 313.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1878, allocations: 8 kB / 313.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1878, allocations: 0 / 313.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1878, allocations: 3.984 kB / 313.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.1908, allocations: 2.273 MB / 315.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1908, allocations: 0 / 315.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.1912, allocations: 79.88 kB / 315.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/0.1919, allocations: 392 kB / 316 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/0.1919, allocations: 19.98 kB / 316.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.196, allocations: 4.318 MB / 320.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.196, allocations: 0 / 320.4 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.1983, allocations: 1.966 MB / 322.3 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.1987, allocations: 223.4 kB / 322.6 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1988, allocations: 15.98 kB / 322.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.1992, allocations: 43.95 kB / 322.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.1994, allocations: 80.5 kB / 322.7 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.1994, allocations: 16 kB / 322.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006616/0.2001, allocations: 0.6668 MB / 323.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2001, allocations: 3.828 kB / 323.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008839/0.201, allocations: 355.7 kB / 323.7 MB, free: 1.766 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.2011, allocations: 133.6 kB / 323.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.2028, allocations: 1.251 MB / 325.1 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2028, allocations: 0 / 325.1 MB, free: 364 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.204, allocations: 0.7808 MB / 325.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.205, allocations: 246.8 kB / 326.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.2101, allocations: 2.685 MB / 328.8 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.2111, allocations: 0.8025 MB / 329.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.2116, allocations: 166.2 kB / 329.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2118, allocations: 60.48 kB / 329.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2118, allocations: 0 / 329.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of Templates: time 0.03271/0.2445, allocations: 17.43 MB / 347.3 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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: 5.0913035640260205]