Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.0009471/0.0009471, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009412/0.0009412, allocations: 161 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.9759/0.9759, allocations: 177.1 MB / 205 MB, free: 5.598 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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.693e-05, allocations: 2.312 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004671/0.004698, allocations: 4.769 MB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.006985, allocations: 1.355 MB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.00732, allocations: 39.69 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.007934, allocations: 230.3 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006863/0.008621, allocations: 381.5 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.008997, allocations: 235.5 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.0104, allocations: 1.595 MB / 281.6 MB, free: 8.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006055/0.011, allocations: 0.5476 MB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008845/0.01189, allocations: 0.959 MB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.01268, allocations: 0.7482 MB / 283.8 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.01289, allocations: 168 kB / 284 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.01311, allocations: 168 kB / 284.2 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.01339, allocations: 470.7 kB / 284.6 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.01379, allocations: 0.5106 MB / 285.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.01474, allocations: 1.219 MB / 286.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01474, allocations: 0 / 286.3 MB, free: 4.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01475, allocations: 3.938 kB / 286.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.531e-05/0.01477, allocations: 0 / 286.4 MB, free: 4.062 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002625/0.0174, allocations: 2.157 MB / 288.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.01743, allocations: 12.03 kB / 288.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.01783, allocations: 248 kB / 288.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009043/0.01873, allocations: 0.8482 MB / 289.6 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.01878, allocations: 70.38 kB / 289.7 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.0189, allocations: 108.4 kB / 289.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1292/0.1481, allocations: 0.8718 MB / 290.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.1481, allocations: 0 / 290.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.1482, allocations: 43.8 kB / 290.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.507e-05/0.1483, allocations: 42.39 kB / 290.7 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1494, allocations: 388.1 kB / 291.1 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.1534, allocations: 3.624 MB / 294.7 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009113/0.1543, allocations: 0.6 MB / 295.3 MB, free: 23.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.155, allocations: 378.4 kB / 295.7 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.155, allocations: 15.83 kB / 295.7 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.1556, allocations: 406.9 kB / 296.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.335e-06/0.1556, allocations: 0.6562 kB / 296.1 MB, free: 23.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.004175/0.1598, allocations: 1.884 MB / 298 MB, free: 23.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1598, allocations: 117.2 kB / 298.1 MB, free: 23.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/0.1605, allocations: 0.7067 MB / 298.8 MB, free: 22.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.1606, allocations: 41.05 kB / 298.9 MB, free: 22.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.1608, allocations: 0.5551 MB / 299.4 MB, free: 22.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.161, allocations: 261.1 kB / 299.7 MB, free: 22.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.1612, allocations: 144.5 kB / 299.8 MB, free: 21.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1613, allocations: 0.5914 MB / 300.4 MB, free: 21.4 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1616, allocations: 107.8 kB / 300.5 MB, free: 21.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1619, allocations: 381.4 kB / 300.9 MB, free: 21.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.1624, allocations: 454.8 kB / 301.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1624, allocations: 2.016 kB / 301.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009245/0.1633, allocations: 0.6569 MB / 302 MB, free: 20.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1633, allocations: 6.875 kB / 302 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1634, allocations: 4.125 kB / 302 MB, free: 20.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.1639, allocations: 243.1 kB / 302.2 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.1641, allocations: 97.62 kB / 302.3 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.1673, allocations: 3.773 MB / 306.1 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.1676, allocations: 84.94 kB / 306.2 MB, free: 17.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.1676, allocations: 31.08 kB / 306.2 MB, free: 17.68 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 (55): * Single equations (assignments): 54 * 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,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.1678, allocations: 207.8 kB / 306.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.1679, allocations: 114.5 kB / 306.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.694e-05/0.168, allocations: 104.9 kB / 306.6 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.168, allocations: 7.109 kB / 306.7 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.168, allocations: 0 / 306.7 MB, free: 17.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.168, allocations: 9.984 kB / 306.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00183/0.1698, allocations: 1.65 MB / 308.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1698, allocations: 0 / 308.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.17, allocations: 52.88 kB / 308.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.1704, allocations: 240.5 kB / 308.6 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.1705, allocations: 15.67 kB / 308.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.1732, allocations: 3.733 MB / 312.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1732, allocations: 0 / 312.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.1741, allocations: 0.8759 MB / 313.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.1743, allocations: 190.3 kB / 313.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.948e-05/0.1744, allocations: 19.59 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1746, allocations: 47.89 kB / 313.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.1747, allocations: 80.5 kB / 313.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1748, allocations: 19.98 kB / 313.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003114/0.1751, allocations: 458.9 kB / 314 MB, free: 11.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 0 / 314 MB, free: 11.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006274/0.1757, allocations: 351.2 kB / 314.4 MB, free: 10.93 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 (40): * Single equations (assignments): 36 * 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,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.1758, allocations: 119.2 kB / 314.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000891/0.1767, allocations: 0.8097 MB / 315.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1767, allocations: 0 / 315.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.1772, allocations: 0.633 MB / 315.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.1778, allocations: 272.2 kB / 316.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.1803, allocations: 2.008 MB / 318.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1805, allocations: 372 kB / 318.6 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.1808, allocations: 120.2 kB / 318.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.1809, allocations: 52.5 kB / 318.7 MB, free: 6.488 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1809, allocations: 0 / 318.7 MB, free: 6.488 MB / 266.7 MB Notification: Performance of Templates: time 0.02003/0.2009, allocations: 18.64 MB / 337.4 MB, free: 4.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.3529789289459586]