Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 95.83 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 180.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006879/0.0006879, allocations: 8 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1285, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004222/0.1328, allocations: 2.964 MB / 331.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1349, allocations: 0.9483 MB / 332.3 MB, free: 156 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.1353, allocations: 11.94 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1356, allocations: 51.59 kB / 332.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.1364, allocations: 167.5 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.1368, allocations: 115.7 kB / 332.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.1374, allocations: 395 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.1378, allocations: 161 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.138, allocations: 175.3 kB / 333.3 MB, free: 15.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1383, allocations: 203 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.1384, allocations: 24 kB / 333.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.1384, allocations: 24 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.902e-05/0.1385, allocations: 79.67 kB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1386, allocations: 121.5 kB / 333.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.139, allocations: 450.7 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.139, allocations: 3.938 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.139, allocations: 4 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.139, allocations: 0 / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0013/0.1404, allocations: 0.6947 MB / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1404, allocations: 12.02 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1405, allocations: 55.34 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.141, allocations: 347.1 kB / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.141, allocations: 32.95 kB / 335.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.1411, allocations: 44 kB / 335.4 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.1419, allocations: 449.5 kB / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1419, allocations: 0 / 335.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.142, allocations: 20 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.142, allocations: 8 kB / 335.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.1426, allocations: 323.7 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.1449, allocations: 1.848 MB / 338 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.1457, allocations: 0.6086 MB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1458, allocations: 4.328 kB / 338.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004145/0.1462, allocations: 265.2 kB / 338.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.1462, allocations: 0 / 338.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.0022/0.1484, allocations: 0.8549 MB / 339.7 MB, free: 8.328 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.1485, allocations: 81.11 kB / 339.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.1488, allocations: 312.5 kB / 340.1 MB, free: 7.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.1489, allocations: 33.7 kB / 340.1 MB, free: 7.883 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1491, allocations: 220.3 kB / 340.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1492, allocations: 138 kB / 340.5 MB, free: 7.527 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.1492, allocations: 8 kB / 340.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1494, allocations: 346.8 kB / 340.8 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1496, allocations: 125 kB / 341 MB, free: 7.051 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.1499, allocations: 249 kB / 341.2 MB, free: 6.754 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.1502, allocations: 151.5 kB / 341.4 MB, free: 6.605 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1502, allocations: 7.953 kB / 341.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008184/0.151, allocations: 0.5051 MB / 341.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1511, allocations: 8.469 kB / 341.9 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1511, allocations: 8 kB / 341.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/0.1515, allocations: 140.8 kB / 342 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1518, allocations: 67.91 kB / 342.1 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.1545, allocations: 2.346 MB / 344.4 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.1547, allocations: 43.66 kB / 344.5 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1548, allocations: 20 kB / 344.5 MB, free: 3.32 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.155, allocations: 170.6 kB / 344.7 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.155, allocations: 43.48 kB / 344.7 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.1551, allocations: 48.3 kB / 344.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1551, allocations: 4 kB / 344.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1552, allocations: 3.984 kB / 344.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1552, allocations: 0 / 344.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.1565, allocations: 1.011 MB / 345.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1566, allocations: 0 / 345.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.1568, allocations: 43.91 kB / 345.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.1571, allocations: 152.1 kB / 346 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.1572, allocations: 4 kB / 346 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/0.1597, allocations: 2.327 MB / 348.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1598, allocations: 0 / 348.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1608, allocations: 0.7194 MB / 349 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.161, allocations: 144.7 kB / 349.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.1611, allocations: 8 kB / 349.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1613, allocations: 15.98 kB / 349.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.1614, allocations: 31.95 kB / 349.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.1614, allocations: 27.92 kB / 349.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1616, allocations: 219.1 kB / 349.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1617, allocations: 0 / 349.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.1623, allocations: 143.7 kB / 349.6 MB, free: 13.97 MB / 302.1 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.1624, allocations: 111.8 kB / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.1634, allocations: 0.5374 MB / 350.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1635, allocations: 0.875 kB / 350.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000548/0.164, allocations: 390.2 kB / 350.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1644, allocations: 69.27 kB / 350.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.166, allocations: 1.025 MB / 351.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1665, allocations: 0.8398 MB / 352.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.1666, allocations: 35.31 kB / 352.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.1667, allocations: 27.44 kB / 352.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1667, allocations: 3.938 kB / 352.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Templates: time 0.01138/0.1781, allocations: 6.05 MB / 358.7 MB, free: 4.816 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches