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.0009254/0.0009254, allocations: 75.69 kB / 21.69 MB, free: 2.871 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.0009431/0.0009431, allocations: 164.8 kB / 24.99 MB, free: 9.328 MB / 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 2.064e-06/2.064e-06, allocations: 0 / 273.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.842e-05, allocations: 6.312 kB / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006789/0.006827, allocations: 4.564 MB / 277.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.009991, allocations: 1.297 MB / 278.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.0105, allocations: 35.75 kB / 279 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.01095, allocations: 170.6 kB / 279.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00092/0.01187, allocations: 377.5 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.0124, allocations: 223.5 kB / 279.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01352, allocations: 1.673 MB / 281.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.01409, allocations: 0.5755 MB / 282 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009118/0.015, allocations: 1.025 MB / 283 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/0.01581, allocations: 0.8418 MB / 283.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.01595, allocations: 180 kB / 284 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.01615, allocations: 176 kB / 284.2 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.01645, allocations: 0.5025 MB / 284.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.01686, allocations: 0.5495 MB / 285.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.0179, allocations: 1.344 MB / 286.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.01791, allocations: 0 / 286.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01791, allocations: 0 / 286.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.01792, allocations: 0 / 286.6 MB, free: 4.211 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.002644/0.02057, allocations: 2.333 MB / 288.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.02061, allocations: 8.031 kB / 288.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.0211, allocations: 287.9 kB / 289.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/0.02201, allocations: 0.8832 MB / 290.1 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.02206, allocations: 86.44 kB / 290.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.02218, allocations: 108.3 kB / 290.3 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.126/0.1482, allocations: 0.9032 MB / 291.2 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.1482, allocations: 4.906 kB / 291.2 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.1483, allocations: 42.84 kB / 291.2 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.925e-05/0.1483, allocations: 44.02 kB / 291.3 MB, free: 27.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009657/0.1493, allocations: 402.1 kB / 291.7 MB, free: 27.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.1539, allocations: 4.162 MB / 295.8 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.1547, allocations: 0.5247 MB / 296.4 MB, free: 25.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.1553, allocations: 356.9 kB / 296.7 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.1554, allocations: 18.83 kB / 296.7 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.1559, allocations: 364 kB / 297.1 MB, free: 24.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.045e-06/0.1559, allocations: 0.5312 kB / 297.1 MB, free: 24.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.003305/0.1592, allocations: 1.417 MB / 298.5 MB, free: 24.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1593, allocations: 90.36 kB / 298.6 MB, free: 24.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.1602, allocations: 0.8001 MB / 299.4 MB, free: 24.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.1602, allocations: 36.61 kB / 299.4 MB, free: 24.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.1606, allocations: 0.6109 MB / 300 MB, free: 23.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.1607, allocations: 250.5 kB / 300.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.1609, allocations: 133.2 kB / 300.4 MB, free: 23.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.161, allocations: 0.51 MB / 300.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1612, allocations: 112.1 kB / 301 MB, free: 23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.1615, allocations: 332 kB / 301.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.1621, allocations: 453.6 kB / 301.8 MB, free: 22.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.1621, allocations: 1.75 kB / 301.8 MB, free: 22.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001061/0.1631, allocations: 0.627 MB / 302.4 MB, free: 22.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1632, allocations: 6.656 kB / 302.4 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1632, allocations: 4.219 kB / 302.4 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005054/0.1637, allocations: 202.2 kB / 302.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.164, allocations: 116.5 kB / 302.8 MB, free: 22.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.1667, allocations: 3.234 MB / 306 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.1672, allocations: 77.08 kB / 306.1 MB, free: 19.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.1672, allocations: 26.98 kB / 306.1 MB, free: 19.45 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.0003349/0.1675, allocations: 203.3 kB / 306.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.1677, allocations: 123.3 kB / 306.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1678, allocations: 110.3 kB / 306.5 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1678, allocations: 8.922 kB / 306.5 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1678, allocations: 1.625 kB / 306.5 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1678, allocations: 3.984 kB / 306.5 MB, free: 19.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.1699, allocations: 1.614 MB / 308.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1699, allocations: 0 / 308.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.1701, allocations: 80.94 kB / 308.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003611/0.1704, allocations: 189.7 kB / 308.4 MB, free: 18.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.1705, allocations: 15.08 kB / 308.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.1728, allocations: 3.196 MB / 311.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1728, allocations: 7.938 kB / 311.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1738, allocations: 0.8371 MB / 312.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.174, allocations: 199.7 kB / 312.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.1741, allocations: 16 kB / 312.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1743, allocations: 40.08 kB / 312.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.1745, allocations: 92.48 kB / 312.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1745, allocations: 20 kB / 312.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004036/0.1749, allocations: 0.4989 MB / 313.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1749, allocations: 0 / 313.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007523/0.1756, allocations: 356.3 kB / 313.7 MB, free: 13.08 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.0001551/0.1758, allocations: 128.4 kB / 313.8 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009496/0.1768, allocations: 0.7448 MB / 314.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1768, allocations: 0 / 314.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.1772, allocations: 0.5884 MB / 315.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.1779, allocations: 254.5 kB / 315.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.181, allocations: 2.289 MB / 317.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1812, allocations: 391.8 kB / 318 MB, free: 8.625 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.1815, allocations: 131.4 kB / 318.2 MB, free: 8.492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1816, allocations: 60.5 kB / 318.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1816, allocations: 0 / 318.2 MB, free: 8.434 MB / 266.7 MB Notification: Performance of Templates: time 0.02054/0.2021, allocations: 17.5 MB / 335.7 MB, free: 7.23 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1219370448961854]