Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 93.28 kB / 17.3 MB, free: 6.395 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.001174/0.001174, allocations: 177.4 kB / 18.21 MB, free: 5.547 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.724/1.724, 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.0005507/0.000551, allocations: 16 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1202, allocations: 47.58 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.00514/0.1254, allocations: 4.265 MB / 333.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1285, allocations: 1.314 MB / 334.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004112/0.129, allocations: 27.81 kB / 334.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.1297, allocations: 175 kB / 334.8 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007843/0.1304, allocations: 322.3 kB / 335.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1308, allocations: 183.8 kB / 335.2 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.1326, allocations: 1.775 MB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.1335, allocations: 0.7475 MB / 337.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.1343, allocations: 478 kB / 338.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.1355, allocations: 0.6495 MB / 338.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.1356, allocations: 68 kB / 339 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1358, allocations: 64 kB / 339 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004324/0.1363, allocations: 334.8 kB / 339.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.137, allocations: 0.6196 MB / 340 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.139, allocations: 1.919 MB / 341.9 MB, free: 6.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1391, allocations: 0 / 341.9 MB, free: 6.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1391, allocations: 0 / 341.9 MB, free: 6.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.1391, allocations: 0 / 341.9 MB, free: 6.766 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002905/0.142, allocations: 1.405 MB / 343.3 MB, free: 5.305 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1421, allocations: 12.03 kB / 343.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.1423, allocations: 139.3 kB / 343.4 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.1437, allocations: 0.8644 MB / 344.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.1438, allocations: 74.36 kB / 344.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1439, allocations: 100.1 kB / 344.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.1466, allocations: 1.435 MB / 345.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.1466, allocations: 7.922 kB / 345.9 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.1467, allocations: 43.98 kB / 346 MB, free: 2.562 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.1468, allocations: 38 kB / 346 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.1491, allocations: 1.296 MB / 347.3 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/0.1563, allocations: 4.359 MB / 351.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.1585, allocations: 1.974 MB / 353.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.1596, allocations: 0.6336 MB / 354.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.847e-05/0.1597, allocations: 8.656 kB / 354.3 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.1607, allocations: 0.6054 MB / 354.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.625e-06/0.1608, allocations: 0 / 354.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007519/0.1683, allocations: 2.875 MB / 357.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.1684, allocations: 115.5 kB / 357.9 MB, free: 6.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1695, allocations: 0.8207 MB / 358.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.1696, allocations: 41.7 kB / 358.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.17, allocations: 487.8 kB / 359.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.1702, allocations: 244.5 kB / 359.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.1703, allocations: 65.69 kB / 359.5 MB, free: 4.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1705, allocations: 386.8 kB / 359.9 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/0.1712, allocations: 409.7 kB / 360.3 MB, free: 3.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.1719, allocations: 0.5493 MB / 360.8 MB, free: 3.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.1733, allocations: 0.927 MB / 361.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1733, allocations: 7.938 kB / 361.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002075/0.1754, allocations: 1.326 MB / 363.1 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1754, allocations: 8 kB / 363.1 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1754, allocations: 4 kB / 363.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.1767, allocations: 472.4 kB / 363.6 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.1771, allocations: 99.83 kB / 363.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00702/0.1842, allocations: 5.152 MB / 368.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.1847, allocations: 87.39 kB / 368.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.1848, allocations: 24 kB / 368.9 MB, free: 10.89 MB / 318.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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: 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.0007502/0.1855, allocations: 463.2 kB / 369.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.1857, allocations: 90.98 kB / 369.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1859, allocations: 112.6 kB / 369.6 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1859, allocations: 4 kB / 369.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1859, allocations: 4 kB / 369.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.186, allocations: 3.984 kB / 369.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.1899, allocations: 2.627 MB / 372.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1899, allocations: 0 / 372.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.1902, allocations: 75.83 kB / 372.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009688/0.1912, allocations: 456.4 kB / 372.7 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.1912, allocations: 15.98 kB / 372.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/0.1977, allocations: 5.111 MB / 377.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1977, allocations: 3.938 kB / 377.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2099/0.4076, allocations: 1.928 MB / 379.8 MB, free: 52.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/0.4086, allocations: 272.2 kB / 380.1 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4087, allocations: 14.36 kB / 380.1 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.4092, allocations: 44.44 kB / 380.1 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.4095, allocations: 76.92 kB / 380.2 MB, free: 52.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.4096, allocations: 22.12 kB / 380.2 MB, free: 52.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008598/0.4104, allocations: 0.5925 MB / 380.8 MB, free: 52.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4104, allocations: 0 / 380.8 MB, free: 52.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4116, allocations: 343.4 kB / 381.1 MB, free: 52.4 MB / 318.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.0001851/0.4118, allocations: 126.1 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.4142, allocations: 1.293 MB / 382.5 MB, free: 52.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4142, allocations: 0 / 382.5 MB, free: 52.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.4155, allocations: 0.8318 MB / 383.4 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4167, allocations: 250.7 kB / 383.6 MB, free: 52.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.4214, allocations: 2.806 MB / 386.4 MB, free: 50.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.4226, allocations: 1.321 MB / 387.8 MB, free: 50.06 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006074/0.4232, allocations: 141.8 kB / 387.9 MB, free: 50.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.4234, allocations: 52.94 kB / 387.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4234, allocations: 3.875 kB / 387.9 MB, free: 50.04 MB / 318.1 MB Notification: Performance of Templates: time 0.03022/0.4536, allocations: 18.23 MB / 406.2 MB, free: 38.2 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches