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.001621/0.001621, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001963/0.001963, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001363/0.001363, allocations: 51.92 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 46.62 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.007001/0.1275, allocations: 3.689 MB / 330.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1303, allocations: 0.9323 MB / 331.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008117/0.1311, allocations: 11.94 kB / 331.2 MB, free: 212 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1317, allocations: 59.53 kB / 331.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008305/0.1325, allocations: 126.9 kB / 331.4 MB, free: 24 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1331, allocations: 135.9 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.1337, allocations: 0.5756 MB / 332.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.1341, allocations: 178.5 kB / 332.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.1344, allocations: 203.1 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.1346, allocations: 230.9 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.1347, allocations: 28 kB / 332.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.245e-05/0.1348, allocations: 32 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1349, allocations: 99.53 kB / 332.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.1352, allocations: 242.7 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.1357, allocations: 0.58 MB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1357, allocations: 4 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1357, allocations: 0 / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1357, allocations: 0 / 333.7 MB, free: 13.73 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.001449/0.1372, allocations: 0.7805 MB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1372, allocations: 8.031 kB / 334.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1374, allocations: 52.38 kB / 334.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.1379, allocations: 360.1 kB / 334.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.1379, allocations: 37.3 kB / 334.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.138, allocations: 44.38 kB / 335 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007939/0.1388, allocations: 457.5 kB / 335.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1388, allocations: 0 / 335.4 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.925e-05/0.1389, allocations: 23.94 kB / 335.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1389, allocations: 8 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.1395, allocations: 315.8 kB / 335.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1418, allocations: 1.828 MB / 337.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008359/0.1427, allocations: 0.6202 MB / 338.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.1432, allocations: 269.4 kB / 338.5 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1433, allocations: 8.266 kB / 338.5 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.1438, allocations: 277.1 kB / 338.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.1438, allocations: 0 / 338.8 MB, free: 8.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002375/0.1462, allocations: 0.8394 MB / 339.6 MB, free: 7.512 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.1463, allocations: 85.11 kB / 339.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.1466, allocations: 308.5 kB / 340 MB, free: 7.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.1467, allocations: 37.7 kB / 340 MB, free: 7.055 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1469, allocations: 216.4 kB / 340.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.147, allocations: 142 kB / 340.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1471, allocations: 78.27 kB / 340.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1473, allocations: 350.7 kB / 340.8 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.1475, allocations: 121.1 kB / 340.9 MB, free: 6.145 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1479, allocations: 249 kB / 341.2 MB, free: 5.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.1485, allocations: 381.8 kB / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1485, allocations: 0 / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009445/0.1494, allocations: 0.505 MB / 342 MB, free: 4.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1495, allocations: 8 kB / 342 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1495, allocations: 4.469 kB / 342 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.15, allocations: 156.1 kB / 342.2 MB, free: 4.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.1502, allocations: 67.84 kB / 342.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.153, allocations: 2.307 MB / 344.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.1534, allocations: 39.69 kB / 344.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.1534, allocations: 19.94 kB / 344.6 MB, free: 2.18 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.1537, allocations: 177.8 kB / 344.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.1538, allocations: 39.53 kB / 344.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.1539, allocations: 44.3 kB / 344.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1539, allocations: 15.94 kB / 344.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1539, allocations: 0 / 344.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1539, allocations: 3.984 kB / 344.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.1554, allocations: 1.024 MB / 345.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1555, allocations: 0 / 345.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1556, allocations: 39.95 kB / 346 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003882/0.156, allocations: 143.8 kB / 346.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1561, allocations: 8.094 kB / 346.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.1587, allocations: 2.308 MB / 348.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1587, allocations: 0 / 348.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.1598, allocations: 0.7194 MB / 349.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.16, allocations: 152.6 kB / 349.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.1601, allocations: 15.98 kB / 349.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.1603, allocations: 8 kB / 349.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.1604, allocations: 35.94 kB / 349.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.1604, allocations: 16 kB / 349.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1607, allocations: 215.1 kB / 349.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1607, allocations: 3.938 kB / 349.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006248/0.1613, allocations: 139.8 kB / 349.7 MB, free: 12.84 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 (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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.1615, allocations: 119.8 kB / 349.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1626, allocations: 0.5376 MB / 350.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.1626, allocations: 12 kB / 350.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005669/0.1631, allocations: 362.2 kB / 350.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.1637, allocations: 85.25 kB / 350.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.1657, allocations: 1.026 MB / 351.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.1663, allocations: 0.8318 MB / 352.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.1665, allocations: 39.31 kB / 352.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.1666, allocations: 27.42 kB / 352.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1666, allocations: 0 / 352.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of Templates: time 0.0136/0.1802, allocations: 6.399 MB / 359.1 MB, free: 3.32 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