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.0008318/0.0008322, allocations: 98.95 kB / 16.95 MB, free: 6.453 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.0008227/0.0008231, allocations: 182 kB / 17.84 MB, free: 6.004 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.848/1.848, allocations: 205.4 MB / 224 MB, free: 13.14 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.0005471/0.0005472, allocations: 11.44 kB / 280.8 MB, free: 3.703 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1347, allocations: 47.57 MB / 328.4 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004559/0.1393, allocations: 3.146 MB / 331.5 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1414, allocations: 0.9168 MB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.1417, allocations: 11.94 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1419, allocations: 59.55 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1423, allocations: 115.1 kB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1426, allocations: 111.8 kB / 332.7 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.1432, allocations: 0.5483 MB / 333.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1435, allocations: 145.1 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1438, allocations: 179.3 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.1441, allocations: 203 kB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.1442, allocations: 20 kB / 333.8 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.1442, allocations: 24 kB / 333.8 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.1443, allocations: 91.59 kB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1444, allocations: 113.5 kB / 334 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.1449, allocations: 458.7 kB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.145, allocations: 4 kB / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.145, allocations: 0 / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.145, allocations: 0 / 334.5 MB, free: 13.89 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.001418/0.1464, allocations: 0.6947 MB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1465, allocations: 8.031 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1466, allocations: 59.34 kB / 335.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.1471, allocations: 343.1 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1472, allocations: 48.81 kB / 335.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.1472, allocations: 43.98 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/0.148, allocations: 449.6 kB / 336.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1481, allocations: 0 / 336.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.1481, allocations: 16 kB / 336.1 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1482, allocations: 15.94 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/0.1487, allocations: 319.8 kB / 336.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.1511, allocations: 1.844 MB / 338.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.1519, allocations: 0.6047 MB / 338.9 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.1525, allocations: 277.8 kB / 339.2 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1525, allocations: 12.31 kB / 339.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.1531, allocations: 265.1 kB / 339.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.315e-06/0.1531, allocations: 0 / 339.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002345/0.1555, allocations: 0.8471 MB / 340.3 MB, free: 7.762 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.1555, allocations: 81.11 kB / 340.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.1559, allocations: 312.5 kB / 340.7 MB, free: 7.355 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.156, allocations: 41.64 kB / 340.7 MB, free: 7.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1562, allocations: 212.4 kB / 340.9 MB, free: 7.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1563, allocations: 138 kB / 341 MB, free: 6.961 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.1563, allocations: 12 kB / 341.1 MB, free: 6.949 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1565, allocations: 350.8 kB / 341.4 MB, free: 6.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1567, allocations: 117.1 kB / 341.5 MB, free: 6.484 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/0.1572, allocations: 253 kB / 341.8 MB, free: 6.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1575, allocations: 139.5 kB / 341.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.1575, allocations: 4 kB / 341.9 MB, free: 6.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000944/0.1584, allocations: 0.5052 MB / 342.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.1585, allocations: 12.45 kB / 342.4 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.1585, allocations: 11.94 kB / 342.4 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.159, allocations: 148.7 kB / 342.6 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1592, allocations: 67.91 kB / 342.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/0.1623, allocations: 2.311 MB / 345 MB, free: 2.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1626, allocations: 39.62 kB / 345 MB, free: 2.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.1627, allocations: 20 kB / 345 MB, free: 2.789 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.0004016/0.1631, allocations: 178.6 kB / 345.2 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.1632, allocations: 39.53 kB / 345.2 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1633, allocations: 44.3 kB / 345.3 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1633, allocations: 4 kB / 345.3 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1633, allocations: 3.953 kB / 345.3 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1633, allocations: 3.984 kB / 345.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1649, allocations: 1.035 MB / 346.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1649, allocations: 0 / 346.3 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1651, allocations: 31.98 kB / 346.3 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003752/0.1655, allocations: 147.9 kB / 346.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1655, allocations: 8 kB / 346.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.1682, allocations: 2.312 MB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1682, allocations: 3.953 kB / 348.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1693, allocations: 0.7119 MB / 349.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1695, allocations: 148.6 kB / 349.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.1696, allocations: 15.95 kB / 349.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.1698, allocations: 15.98 kB / 349.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.1699, allocations: 35.95 kB / 349.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.17, allocations: 11.98 kB / 349.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002464/0.1702, allocations: 219.1 kB / 350 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1702, allocations: 0 / 350 MB, free: 13.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007398/0.171, allocations: 143.7 kB / 350.1 MB, free: 13.44 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001672/0.1712, allocations: 111.8 kB / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.1722, allocations: 0.5373 MB / 350.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1722, allocations: 3.938 kB / 350.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005803/0.1728, allocations: 379.2 kB / 351.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.1733, allocations: 81.25 kB / 351.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1753, allocations: 1.022 MB / 352.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.1759, allocations: 0.8279 MB / 353.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001846/0.1761, allocations: 39.3 kB / 353.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.1762, allocations: 23.44 kB / 353.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1762, allocations: 4 kB / 353.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Templates: time 0.01279/0.189, allocations: 6.12 MB / 359.2 MB, free: 4.219 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (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) 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