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.0009524/0.0009524, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008845/0.0008845, allocations: 143.1 kB / 24.97 MB, free: 8.77 MB / 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.9551/0.9551, allocations: 173.3 MB / 201.5 MB, free: 9.34 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.874e-06/1.874e-06, allocations: 0 / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.846e-05, allocations: 9.906 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00625/0.006279, allocations: 4.525 MB / 272.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.008847, allocations: 1.215 MB / 273.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.009227, allocations: 31.75 kB / 273.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.009612, allocations: 174.6 kB / 274 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.01064, allocations: 373.5 kB / 274.4 MB, free: 372 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.01105, allocations: 199.6 kB / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.0129, allocations: 1.657 MB / 276.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009146/0.01381, allocations: 0.5637 MB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.01519, allocations: 1.014 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.01657, allocations: 0.8301 MB / 278.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.01693, allocations: 176 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.0172, allocations: 176 kB / 279 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.01763, allocations: 0.4985 MB / 279.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.0183, allocations: 0.5417 MB / 280.1 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.01972, allocations: 1.324 MB / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01973, allocations: 0 / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01973, allocations: 0 / 281.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.01975, allocations: 0 / 281.4 MB, free: 9.34 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.003533/0.02328, allocations: 2.314 MB / 283.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.02333, allocations: 8.922 kB / 283.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.0237, allocations: 243.9 kB / 283.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.02504, allocations: 0.8403 MB / 284.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.0251, allocations: 78.44 kB / 284.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.02528, allocations: 116.3 kB / 285 MB, free: 5.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.02707, allocations: 0.9068 MB / 285.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.02711, allocations: 7.891 kB / 285.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.02722, allocations: 44 kB / 285.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.232e-05/0.0273, allocations: 46.03 kB / 286 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.02858, allocations: 407.8 kB / 286.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1213/0.1499, allocations: 4.144 MB / 290.5 MB, free: 25.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000893/0.1508, allocations: 0.5242 MB / 291 MB, free: 25.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.1514, allocations: 357.3 kB / 291.4 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.1514, allocations: 11.97 kB / 291.4 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.1519, allocations: 370.3 kB / 291.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.205e-06/0.1519, allocations: 0 / 291.8 MB, free: 25.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002928/0.1548, allocations: 1.403 MB / 293.2 MB, free: 25.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1549, allocations: 87.75 kB / 293.3 MB, free: 25.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/0.1556, allocations: 0.7773 MB / 294 MB, free: 25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1556, allocations: 42.19 kB / 294.1 MB, free: 24.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.156, allocations: 0.5991 MB / 294.7 MB, free: 24.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1561, allocations: 246.5 kB / 294.9 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1562, allocations: 140.1 kB / 295 MB, free: 24.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.1563, allocations: 0.507 MB / 295.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.1565, allocations: 110.5 kB / 295.7 MB, free: 24.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.1568, allocations: 335.5 kB / 296 MB, free: 23.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.1573, allocations: 448.1 kB / 296.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1573, allocations: 2.625 kB / 296.4 MB, free: 23.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008877/0.1582, allocations: 0.6269 MB / 297.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1582, allocations: 10.8 kB / 297.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1582, allocations: 3.812 kB / 297.1 MB, free: 23.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.1587, allocations: 195.5 kB / 297.3 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.159, allocations: 118.9 kB / 297.4 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.1616, allocations: 3.239 MB / 300.6 MB, free: 21.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1619, allocations: 74.31 kB / 300.7 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1619, allocations: 34.86 kB / 300.7 MB, free: 21.49 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.0002109/0.1621, allocations: 203.5 kB / 300.9 MB, free: 21.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1623, allocations: 122.1 kB / 301 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.1624, allocations: 105.8 kB / 301.1 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1624, allocations: 10.03 kB / 301.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1624, allocations: 1.406 kB / 301.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1624, allocations: 4.172 kB / 301.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.1642, allocations: 1.598 MB / 302.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1642, allocations: 5.203 kB / 302.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.1645, allocations: 79.41 kB / 302.8 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/0.1648, allocations: 184.4 kB / 303 MB, free: 20.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.1649, allocations: 13.62 kB / 303 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.1671, allocations: 3.209 MB / 306.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1671, allocations: 1.375 kB / 306.2 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.1681, allocations: 0.8395 MB / 307.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.1683, allocations: 193.9 kB / 307.3 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.1684, allocations: 15.22 kB / 307.3 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1686, allocations: 44.81 kB / 307.3 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.1687, allocations: 89.97 kB / 307.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1687, allocations: 27.31 kB / 307.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000365/0.1691, allocations: 493.6 kB / 307.9 MB, free: 17.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1691, allocations: 0 / 307.9 MB, free: 17.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.1697, allocations: 345.8 kB / 308.3 MB, free: 17.29 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.0001241/0.1698, allocations: 127.3 kB / 308.4 MB, free: 17.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008604/0.1707, allocations: 0.7507 MB / 309.1 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1707, allocations: 4.172 kB / 309.1 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1712, allocations: 0.5792 MB / 309.7 MB, free: 16.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.1717, allocations: 252.5 kB / 310 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1743, allocations: 2.245 MB / 312.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.1745, allocations: 400.8 kB / 312.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1748, allocations: 123.2 kB / 312.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.1749, allocations: 60.48 kB / 312.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1749, allocations: 0 / 312.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01647/0.1913, allocations: 17.37 MB / 330.2 MB, free: 13.61 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.1667642248794436]