Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000854/0.000854, allocations: 94.14 kB / 16.95 MB, free: 6.113 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.001075/0.001075, allocations: 175.3 kB / 17.84 MB, free: 5.73 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.618/1.618, 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.0004765/0.0004766, allocations: 8 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 47.58 MB / 328.4 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005078/0.1249, allocations: 3.894 MB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1274, allocations: 1.224 MB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.1277, allocations: 19.88 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1281, allocations: 123.1 kB / 333.6 MB, free: 14.78 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.0008711/0.129, allocations: 306.3 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.1293, allocations: 127.8 kB / 334.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.1309, allocations: 1.646 MB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008421/0.1317, allocations: 0.6899 MB / 336.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.1324, allocations: 0.4941 MB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009436/0.1333, allocations: 0.7043 MB / 337.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1335, allocations: 72 kB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.1337, allocations: 72 kB / 337.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.134, allocations: 354.8 kB / 338.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.1343, allocations: 293 kB / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1358, allocations: 1.765 MB / 340.1 MB, free: 8.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1358, allocations: 4 kB / 340.1 MB, free: 8.234 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1358, allocations: 4 kB / 340.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.1359, allocations: 0 / 340.1 MB, free: 8.23 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00264/0.1385, allocations: 1.537 MB / 341.7 MB, free: 6.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1386, allocations: 12.03 kB / 341.7 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.1389, allocations: 150.2 kB / 341.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1402, allocations: 0.8871 MB / 342.7 MB, free: 5.547 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.1403, allocations: 81.98 kB / 342.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.1405, allocations: 104 kB / 342.9 MB, free: 5.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.143, allocations: 1.541 MB / 344.4 MB, free: 3.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.1431, allocations: 0 / 344.4 MB, free: 3.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1432, allocations: 47.98 kB / 344.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.1433, allocations: 46.02 kB / 344.5 MB, free: 3.672 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.1458, allocations: 1.448 MB / 346 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/0.1531, allocations: 4.965 MB / 350.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.1549, allocations: 1.464 MB / 352.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.1561, allocations: 0.7428 MB / 353.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.453e-05/0.1562, allocations: 8.562 kB / 353.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.1573, allocations: 0.6239 MB / 353.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.856e-06/0.1573, allocations: 4 kB / 353.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005888/0.1632, allocations: 2.427 MB / 356.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.1633, allocations: 85.77 kB / 356.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.1649, allocations: 0.9265 MB / 357.2 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.674e-05/0.165, allocations: 45.69 kB / 357.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.1655, allocations: 0.5191 MB / 357.8 MB, free: 6.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.1657, allocations: 232.6 kB / 358 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1658, allocations: 16 kB / 358 MB, free: 5.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1659, allocations: 334 kB / 358.4 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.1666, allocations: 421.7 kB / 358.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/0.1675, allocations: 0.5719 MB / 359.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.1682, allocations: 449.9 kB / 359.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.1683, allocations: 15.89 kB / 359.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002174/0.1704, allocations: 1.299 MB / 361.1 MB, free: 2.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1705, allocations: 8.344 kB / 361.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1705, allocations: 8 kB / 361.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009703/0.1715, allocations: 402.4 kB / 361.5 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.172, allocations: 119.8 kB / 361.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005643/0.1777, allocations: 4.122 MB / 365.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.1785, allocations: 87.45 kB / 365.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.1786, allocations: 27.98 kB / 365.9 MB, free: 13.73 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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0009152/0.1796, allocations: 0.4913 MB / 366.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.1798, allocations: 94.86 kB / 366.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.1801, allocations: 116.5 kB / 366.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1802, allocations: 8 kB / 366.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1802, allocations: 0 / 366.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1802, allocations: 3.984 kB / 366.6 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.1848, allocations: 2.616 MB / 369.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.1848, allocations: 0 / 369.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/0.1853, allocations: 95.86 kB / 369.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008533/0.1861, allocations: 389.2 kB / 369.7 MB, free: 9.852 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/0.1862, allocations: 19.92 kB / 369.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.1915, allocations: 4.084 MB / 373.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1915, allocations: 0 / 373.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.1949, allocations: 1.993 MB / 375.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.1955, allocations: 287.9 kB / 376 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.1957, allocations: 15.98 kB / 376 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.1963, allocations: 47.95 kB / 376.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.1965, allocations: 80.53 kB / 376.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.1965, allocations: 19.98 kB / 376.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001094/0.1976, allocations: 0.6629 MB / 376.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1976, allocations: 0 / 376.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001205/0.1988, allocations: 350.9 kB / 377.2 MB, free: 2.133 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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002074/0.1991, allocations: 123 kB / 377.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002311/0.2014, allocations: 1.291 MB / 378.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2014, allocations: 0 / 378.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1788/0.3802, allocations: 0.8098 MB / 379.4 MB, free: 53.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.3822, allocations: 242.8 kB / 379.7 MB, free: 53.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.3888, allocations: 3.012 MB / 382.7 MB, free: 52.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.39, allocations: 1.38 MB / 384 MB, free: 51.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007238/0.3908, allocations: 171.8 kB / 384.2 MB, free: 51.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3909, allocations: 55.69 kB / 384.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.233e-06/0.391, allocations: 0 / 384.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of Templates: time 0.02871/0.4197, allocations: 16.49 MB / 400.8 MB, free: 43.03 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches