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.001253/0.001253, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.001289/0.001289, allocations: 145.3 kB / 24.89 MB, free: 9.203 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.9458/0.9458, allocations: 173.4 MB / 201.5 MB, free: 9.199 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.272e-06/1.272e-06, allocations: 0 / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.128e-05, allocations: 2.312 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.01108/0.0111, allocations: 4.501 MB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.01342, allocations: 1.261 MB / 274.3 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.0138, allocations: 31.81 kB / 274.3 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.01471, allocations: 170.6 kB / 274.5 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009023/0.01561, allocations: 377.5 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.01598, allocations: 203.6 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.01744, allocations: 1.661 MB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.01815, allocations: 0.5833 MB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.0194, allocations: 1.014 MB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.02051, allocations: 0.8379 MB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.02069, allocations: 176 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.02086, allocations: 172 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.02114, allocations: 0.4908 MB / 280 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.02155, allocations: 0.5495 MB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009324/0.02249, allocations: 1.328 MB / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.02249, allocations: 0 / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02249, allocations: 0 / 281.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.02251, allocations: 0 / 281.9 MB, free: 8.691 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.001571/0.02408, allocations: 1.596 MB / 283.5 MB, free: 7.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.02411, allocations: 8.922 kB / 283.5 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.0243, allocations: 180.8 kB / 283.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.02496, allocations: 0.5948 MB / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.025, allocations: 78.44 kB / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.0251, allocations: 112.3 kB / 284.4 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008765/0.02598, allocations: 0.8482 MB / 285.3 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.026, allocations: 3.938 kB / 285.3 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.02608, allocations: 44 kB / 285.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.02612, allocations: 42.03 kB / 285.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.02654, allocations: 266.1 kB / 285.6 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.02959, allocations: 3.002 MB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.03005, allocations: 430.2 kB / 289.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.03041, allocations: 294.1 kB / 289.3 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.03045, allocations: 8.656 kB / 289.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.03076, allocations: 328.8 kB / 289.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.874e-06/0.03077, allocations: 4 kB / 289.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.111/0.1418, allocations: 0.9333 MB / 290.6 MB, free: 29.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1418, allocations: 88.58 kB / 290.7 MB, free: 29.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.1424, allocations: 0.5864 MB / 291.3 MB, free: 29.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.1424, allocations: 40.73 kB / 291.3 MB, free: 29.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.1427, allocations: 442.6 kB / 291.7 MB, free: 29.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.1428, allocations: 241.9 kB / 292 MB, free: 29.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1429, allocations: 125.2 kB / 292.1 MB, free: 29.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.143, allocations: 341.6 kB / 292.4 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1431, allocations: 70.08 kB / 292.5 MB, free: 28.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1433, allocations: 243.4 kB / 292.7 MB, free: 28.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.1437, allocations: 356.4 kB / 293.1 MB, free: 28.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1437, allocations: 1.125 kB / 293.1 MB, free: 28.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007206/0.1445, allocations: 454.4 kB / 293.5 MB, free: 28.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1445, allocations: 6.812 kB / 293.5 MB, free: 28.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1445, allocations: 3.312 kB / 293.6 MB, free: 28.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/0.1449, allocations: 175.2 kB / 293.7 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/0.1453, allocations: 118.6 kB / 293.8 MB, free: 28.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.1475, allocations: 2.391 MB / 296.2 MB, free: 27.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.1479, allocations: 57.59 kB / 296.3 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.148, allocations: 22.47 kB / 296.3 MB, free: 27.06 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_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: 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.0003149/0.1483, allocations: 157.1 kB / 296.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1484, allocations: 78.08 kB / 296.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1485, allocations: 118.5 kB / 296.7 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1485, allocations: 10.81 kB / 296.7 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1485, allocations: 1.188 kB / 296.7 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1486, allocations: 3.656 kB / 296.7 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1501, allocations: 1 MB / 297.7 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1501, allocations: 3.906 kB / 297.7 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.1503, allocations: 81.83 kB / 297.8 MB, free: 26.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.1507, allocations: 161.8 kB / 297.9 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.1507, allocations: 16.8 kB / 297.9 MB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.1527, allocations: 2.391 MB / 300.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1527, allocations: 3.969 kB / 300.3 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007981/0.1535, allocations: 0.5993 MB / 300.9 MB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.1538, allocations: 128.9 kB / 301 MB, free: 24.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.1538, allocations: 17.52 kB / 301.1 MB, free: 24.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.154, allocations: 22.73 kB / 301.1 MB, free: 24.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.1541, allocations: 67.77 kB / 301.2 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.1542, allocations: 17.47 kB / 301.2 MB, free: 24.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003179/0.1545, allocations: 298.7 kB / 301.5 MB, free: 24.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1545, allocations: 2.531 kB / 301.5 MB, free: 24.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007747/0.1553, allocations: 350.6 kB / 301.8 MB, free: 24.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001644/0.1554, allocations: 111.2 kB / 301.9 MB, free: 24.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.1563, allocations: 0.6116 MB / 302.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.1563, allocations: 7.906 kB / 302.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.1568, allocations: 480.5 kB / 303 MB, free: 24.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.1573, allocations: 242.2 kB / 303.2 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.1603, allocations: 2.208 MB / 305.4 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1605, allocations: 329.7 kB / 305.8 MB, free: 23.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.1608, allocations: 97.27 kB / 305.9 MB, free: 23.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.1611, allocations: 243.9 kB / 306.1 MB, free: 23 MB / 266.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1611, allocations: 3.906 kB / 306.1 MB, free: 23 MB / 266.7 MB Notification: Performance of Templates: time 0.01824/0.1794, allocations: 18.22 MB / 324.3 MB, free: 6.488 MB / 266.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 -s gbode -gbm=radauIIA3 -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: 2.889334682840854]