Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9294/0.9294, allocations: 173.3 MB / 201.1 MB, free: 8.996 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.241e-05, allocations: 6.25 kB / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004128/0.00415, allocations: 4.537 MB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.005643, allocations: 1.219 MB / 273.8 MB, free: 492 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.005842, allocations: 31.75 kB / 273.8 MB, free: 460 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.00612, allocations: 174.6 kB / 274 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.006828, allocations: 381.6 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.007074, allocations: 195.6 kB / 274.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.00809, allocations: 1.657 MB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005546/0.008645, allocations: 0.5637 MB / 276.8 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.009361, allocations: 1.014 MB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007516/0.01011, allocations: 0.8301 MB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.01028, allocations: 179.9 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.01046, allocations: 176 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.01074, allocations: 0.4946 MB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003908/0.01113, allocations: 0.5534 MB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.01204, allocations: 1.324 MB / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01205, allocations: 0 / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01205, allocations: 0 / 281.3 MB, free: 8.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.01206, allocations: 0 / 281.3 MB, free: 8.867 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.002153/0.01421, allocations: 2.306 MB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.01424, allocations: 8.922 kB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.01446, allocations: 240 kB / 283.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/0.0153, allocations: 0.8481 MB / 284.7 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.01535, allocations: 74.44 kB / 284.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.01546, allocations: 108.4 kB / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.01656, allocations: 0.9107 MB / 285.8 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.01658, allocations: 7.891 kB / 285.8 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.01664, allocations: 40 kB / 285.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-05/0.01668, allocations: 45.98 kB / 285.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007394/0.01742, allocations: 407.9 kB / 286.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/0.1435, allocations: 4.151 MB / 290.5 MB, free: 27.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.1443, allocations: 0.517 MB / 291 MB, free: 27.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.1449, allocations: 354.6 kB / 291.3 MB, free: 27.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.145, allocations: 16.42 kB / 291.3 MB, free: 27.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000516/0.1455, allocations: 370.7 kB / 291.7 MB, free: 27.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.937e-06/0.1455, allocations: 1.984 kB / 291.7 MB, free: 27.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.003145/0.1486, allocations: 1.403 MB / 293.1 MB, free: 27.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1487, allocations: 88.06 kB / 293.2 MB, free: 27.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/0.1495, allocations: 0.7794 MB / 294 MB, free: 26.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.1496, allocations: 40.42 kB / 294 MB, free: 26.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.15, allocations: 0.5957 MB / 294.6 MB, free: 26.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.1502, allocations: 251.1 kB / 294.9 MB, free: 26.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1504, allocations: 133.9 kB / 295 MB, free: 26.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1505, allocations: 0.5151 MB / 295.5 MB, free: 26.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.1507, allocations: 101.2 kB / 295.6 MB, free: 26.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.151, allocations: 340.3 kB / 295.9 MB, free: 25.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1516, allocations: 447 kB / 296.4 MB, free: 25.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1516, allocations: 5.344 kB / 296.4 MB, free: 25.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001004/0.1526, allocations: 0.6226 MB / 297 MB, free: 25.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1526, allocations: 7.344 kB / 297 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1526, allocations: 8.797 kB / 297 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.1531, allocations: 197.1 kB / 297.2 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1535, allocations: 113.6 kB / 297.3 MB, free: 25.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.1564, allocations: 3.248 MB / 300.6 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.1568, allocations: 73.62 kB / 300.6 MB, free: 23.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.1568, allocations: 27.56 kB / 300.7 MB, free: 23.3 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.0002574/0.1571, allocations: 213.5 kB / 300.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.1572, allocations: 118.3 kB / 301 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1573, allocations: 103 kB / 301.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1573, allocations: 7.188 kB / 301.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1573, allocations: 0.9844 kB / 301.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1574, allocations: 4 kB / 301.1 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.1598, allocations: 1.605 MB / 302.7 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1598, allocations: 0 / 302.7 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.1601, allocations: 82.58 kB / 302.8 MB, free: 22.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.1606, allocations: 186.4 kB / 303 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.1606, allocations: 21.36 kB / 303 MB, free: 22.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.1634, allocations: 3.195 MB / 306.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1634, allocations: 0 / 306.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.1646, allocations: 0.842 MB / 307 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.1649, allocations: 205.5 kB / 307.2 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.165, allocations: 10.12 kB / 307.2 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.1653, allocations: 38.22 kB / 307.3 MB, free: 19.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.1655, allocations: 94.33 kB / 307.4 MB, free: 19.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.1655, allocations: 24.34 kB / 307.4 MB, free: 19.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004654/0.166, allocations: 491.1 kB / 307.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.166, allocations: 0 / 307.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008343/0.1668, allocations: 352.4 kB / 308.2 MB, free: 18.88 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.0001457/0.1669, allocations: 127.6 kB / 308.3 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.168, allocations: 0.7521 MB / 309.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.168, allocations: 3.438 kB / 309.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.1686, allocations: 0.575 MB / 309.7 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.1694, allocations: 244.1 kB / 309.9 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.1727, allocations: 2.261 MB / 312.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.173, allocations: 395.7 kB / 312.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003092/0.1733, allocations: 124.6 kB / 312.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.1734, allocations: 64.48 kB / 312.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1734, allocations: 0 / 312.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Templates: time 0.02064/0.1941, allocations: 17.38 MB / 330.1 MB, free: 14.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.364503474906087]