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.0009339/0.0009339, allocations: 93.44 kB / 17.3 MB, free: 5.977 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.0009156/0.0009156, allocations: 180.3 kB / 18.21 MB, free: 5.398 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.115/2.115, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005389/0.0005389, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004392/0.1373, allocations: 3.299 MB / 332.3 MB, free: 440 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1393, allocations: 0.9284 MB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.1396, allocations: 8 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.1398, allocations: 55.53 kB / 333.3 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.1402, allocations: 131 kB / 333.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1406, allocations: 135.8 kB / 333.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.1412, allocations: 0.5717 MB / 334.1 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.1417, allocations: 186.5 kB / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1419, allocations: 187.2 kB / 334.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1423, allocations: 210.9 kB / 334.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.491e-05/0.1424, allocations: 24 kB / 334.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.1425, allocations: 20 kB / 334.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1426, allocations: 87.55 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1429, allocations: 252.5 kB / 335 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.1436, allocations: 0.5643 MB / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1436, allocations: 3.938 kB / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.1436, allocations: 0 / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.1436, allocations: 0 / 335.6 MB, free: 13.07 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.001492/0.1451, allocations: 0.691 MB / 336.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1452, allocations: 12.02 kB / 336.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1453, allocations: 56.28 kB / 336.4 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.1458, allocations: 356.3 kB / 336.7 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.1459, allocations: 29.38 kB / 336.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.146, allocations: 44.38 kB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008664/0.1469, allocations: 457.5 kB / 337.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1469, allocations: 0 / 337.2 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.147, allocations: 20 kB / 337.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.147, allocations: 12 kB / 337.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.1476, allocations: 323.8 kB / 337.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.1503, allocations: 1.847 MB / 339.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.1512, allocations: 0.6241 MB / 340.1 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.1518, allocations: 269.4 kB / 340.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/0.1518, allocations: 4.328 kB / 340.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.1524, allocations: 277.1 kB / 340.6 MB, free: 7.781 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 2.175e-06/0.1524, allocations: 3.938 kB / 340.6 MB, free: 7.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002621/0.155, allocations: 0.855 MB / 341.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.1551, allocations: 81.11 kB / 341.5 MB, free: 6.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.1555, allocations: 316.5 kB / 341.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1556, allocations: 29.7 kB / 341.9 MB, free: 6.441 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1558, allocations: 224.3 kB / 342.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1559, allocations: 134.1 kB / 342.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.156, allocations: 49.69 kB / 342.3 MB, free: 6.027 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1562, allocations: 350.7 kB / 342.6 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.1564, allocations: 125.1 kB / 342.7 MB, free: 5.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.1568, allocations: 253 kB / 343 MB, free: 5.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.1573, allocations: 385.9 kB / 343.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.1573, allocations: 4 kB / 343.4 MB, free: 4.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009227/0.1583, allocations: 0.5089 MB / 343.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.1583, allocations: 4 kB / 343.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1583, allocations: 4 kB / 343.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/0.1589, allocations: 153.1 kB / 344 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1591, allocations: 63.91 kB / 344.1 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.162, allocations: 2.314 MB / 346.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.1623, allocations: 43.62 kB / 346.4 MB, free: 1.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.1624, allocations: 23.94 kB / 346.5 MB, free: 1.57 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.0002639/0.1626, allocations: 169.8 kB / 346.6 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.1627, allocations: 47.52 kB / 346.7 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1628, allocations: 44.3 kB / 346.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1628, allocations: 4.141 kB / 346.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1628, allocations: 3.984 kB / 346.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1628, allocations: 0 / 346.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1644, allocations: 1.039 MB / 347.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1644, allocations: 0 / 347.8 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1646, allocations: 39.97 kB / 347.8 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.165, allocations: 151.7 kB / 348 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.1651, allocations: 12.08 kB / 348 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.1681, allocations: 2.296 MB / 350.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.1681, allocations: 4 kB / 350.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.1693, allocations: 0.7271 MB / 351 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.1695, allocations: 152.6 kB / 351.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.1696, allocations: 8 kB / 351.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1698, allocations: 23.98 kB / 351.2 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.1699, allocations: 31.95 kB / 351.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1699, allocations: 12 kB / 351.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.1702, allocations: 219.1 kB / 351.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1702, allocations: 0 / 351.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.1708, allocations: 143.7 kB / 351.6 MB, free: 12.21 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.0001795/0.171, allocations: 119.8 kB / 351.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.172, allocations: 0.5453 MB / 352.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.172, allocations: 3.938 kB / 352.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.1726, allocations: 378.2 kB / 352.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.1731, allocations: 69.5 kB / 352.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1751, allocations: 1.059 MB / 353.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.1756, allocations: 0.8318 MB / 354.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1758, allocations: 43.3 kB / 354.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/0.1759, allocations: 23.44 kB / 354.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1759, allocations: 3.938 kB / 354.6 MB, free: 9.055 MB / 302.1 MB Notification: Performance of Templates: time 0.01231/0.1882, allocations: 6.316 MB / 361 MB, free: 2.742 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