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.001167/0.001167, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001309/0.001309, allocations: 165 kB / 24.56 MB, free: 16 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 0.9371/0.9371, allocations: 177.1 MB / 205 MB, free: 5.621 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 1.423e-06/1.423e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.993e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.007649/0.007669, allocations: 4.59 MB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.009816, allocations: 1.293 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.01016, allocations: 31.75 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.01047, allocations: 174.6 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.0113, allocations: 385.5 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.01166, allocations: 215.5 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.01294, allocations: 1.677 MB / 281.3 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005959/0.01354, allocations: 0.5755 MB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.01456, allocations: 1.033 MB / 283 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.01548, allocations: 0.834 MB / 283.8 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.01568, allocations: 180 kB / 284 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.0159, allocations: 180 kB / 284.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.01619, allocations: 0.4986 MB / 284.6 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.01663, allocations: 0.5534 MB / 285.2 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.0176, allocations: 1.344 MB / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0176, allocations: 0 / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.0176, allocations: 0 / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.01762, allocations: 0 / 286.5 MB, free: 3.891 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.002324/0.01994, allocations: 2.333 MB / 288.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.01997, allocations: 8.031 kB / 288.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.0205, allocations: 291.9 kB / 289.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000877/0.02138, allocations: 0.8811 MB / 290 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.02142, allocations: 78.44 kB / 290.1 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.02152, allocations: 112.4 kB / 290.2 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1177/0.1393, allocations: 0.9025 MB / 291.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.1393, allocations: 0.75 kB / 291.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.1394, allocations: 44.75 kB / 291.2 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/0.1394, allocations: 44.78 kB / 291.2 MB, free: 24.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.1402, allocations: 404.7 kB / 291.6 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.1443, allocations: 4.16 MB / 295.8 MB, free: 22.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.145, allocations: 0.5196 MB / 296.3 MB, free: 22.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.1456, allocations: 356.1 kB / 296.6 MB, free: 22.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.1456, allocations: 17.8 kB / 296.7 MB, free: 22.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.1461, allocations: 367.9 kB / 297 MB, free: 22.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.617e-06/0.1461, allocations: 0 / 297 MB, free: 22.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.003005/0.1491, allocations: 1.416 MB / 298.4 MB, free: 22.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1492, allocations: 91.47 kB / 298.5 MB, free: 22.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007972/0.1499, allocations: 0.797 MB / 299.3 MB, free: 21.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.15, allocations: 39.67 kB / 299.4 MB, free: 21.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.1503, allocations: 0.6096 MB / 300 MB, free: 21.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1504, allocations: 251.8 kB / 300.2 MB, free: 21.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1506, allocations: 137.9 kB / 300.4 MB, free: 21.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.1506, allocations: 0.5117 MB / 300.9 MB, free: 20.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1508, allocations: 108.1 kB / 301 MB, free: 20.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1511, allocations: 337.5 kB / 301.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.1516, allocations: 446.2 kB / 301.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.1516, allocations: 1.438 kB / 301.7 MB, free: 20.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009273/0.1525, allocations: 0.6273 MB / 302.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1525, allocations: 8.812 kB / 302.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1526, allocations: 8.219 kB / 302.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.153, allocations: 196.8 kB / 302.6 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.1533, allocations: 111.8 kB / 302.7 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.1557, allocations: 3.237 MB / 305.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.156, allocations: 76 kB / 306 MB, free: 17.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.156, allocations: 23.84 kB / 306 MB, free: 17.35 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.00024/0.1563, allocations: 206.9 kB / 306.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1564, allocations: 125.8 kB / 306.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/0.1565, allocations: 110.3 kB / 306.4 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1565, allocations: 8 kB / 306.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1565, allocations: 0 / 306.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1565, allocations: 3.469 kB / 306.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.1583, allocations: 1.606 MB / 308.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1583, allocations: 4 kB / 308.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1585, allocations: 84.3 kB / 308.2 MB, free: 16.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.1588, allocations: 184.2 kB / 308.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.1589, allocations: 15 kB / 308.3 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.1609, allocations: 3.204 MB / 311.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1609, allocations: 0 / 311.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/0.1618, allocations: 0.8519 MB / 312.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.1621, allocations: 196 kB / 312.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.1621, allocations: 16 kB / 312.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1623, allocations: 36.08 kB / 312.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.1625, allocations: 92.48 kB / 312.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.1625, allocations: 23.98 kB / 312.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003545/0.1629, allocations: 498.9 kB / 313.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1629, allocations: 0 / 313.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.1635, allocations: 361.3 kB / 313.6 MB, free: 11.36 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.0001305/0.1636, allocations: 129 kB / 313.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008687/0.1645, allocations: 0.7482 MB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1645, allocations: 4 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.165, allocations: 0.579 MB / 315.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.1655, allocations: 255.6 kB / 315.3 MB, free: 9.617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.1683, allocations: 2.295 MB / 317.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1685, allocations: 395.8 kB / 318 MB, free: 6.898 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000246/0.1688, allocations: 131.2 kB / 318.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1689, allocations: 64.48 kB / 318.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1689, allocations: 0 / 318.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of Templates: time 0.0195/0.1884, allocations: 18.25 MB / 336.4 MB, free: 4.77 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.164546969346702]