Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009138, allocations: 91.28 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.001367/0.001367, allocations: 181.5 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.78/1.78, allocations: 205.4 MB / 224 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.0005009/0.0005011, allocations: 8 kB / 280.8 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 47.59 MB / 328.4 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004152/0.1297, allocations: 3.111 MB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1318, allocations: 1.003 MB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.1321, allocations: 15.88 kB / 332.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1323, allocations: 79.41 kB / 332.6 MB, free: 15.82 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.133, allocations: 195 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.1333, allocations: 103.8 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.1343, allocations: 0.9652 MB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.1348, allocations: 388.7 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.1352, allocations: 302.8 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.1357, allocations: 410.3 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.433e-05/0.1358, allocations: 44 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.1359, allocations: 44 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1361, allocations: 203.3 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1363, allocations: 185.3 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.1373, allocations: 0.9975 MB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1373, allocations: 0 / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1373, allocations: 4 kB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1373, allocations: 0 / 336.4 MB, free: 12 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001865/0.1392, allocations: 1.021 MB / 337.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1392, allocations: 8.031 kB / 337.4 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.1394, allocations: 94.88 kB / 337.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008399/0.1403, allocations: 0.5759 MB / 338.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.1403, allocations: 49.27 kB / 338.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1404, allocations: 64 kB / 338.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.142, allocations: 0.9111 MB / 339.1 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.142, allocations: 4 kB / 339.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.1421, allocations: 24 kB / 339.1 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.1422, allocations: 29.31 kB / 339.2 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.1434, allocations: 0.7936 MB / 340 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.1477, allocations: 2.807 MB / 342.8 MB, free: 5.391 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1488, allocations: 0.7534 MB / 343.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.1494, allocations: 353.3 kB / 343.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.1494, allocations: 4.328 kB / 343.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.1501, allocations: 389.6 kB / 344.2 MB, free: 3.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 4.418e-06/0.1502, allocations: 4 kB / 344.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.002598/0.1528, allocations: 1.201 MB / 345.4 MB, free: 2.586 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.1529, allocations: 114.8 kB / 345.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000757/0.1536, allocations: 0.5604 MB / 346.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.1537, allocations: 37.73 kB / 346.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/0.154, allocations: 355.9 kB / 346.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.1542, allocations: 138.1 kB / 346.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.1542, allocations: 8 kB / 346.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1544, allocations: 374.7 kB / 347 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.1548, allocations: 220.9 kB / 347.2 MB, free: 0.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.1552, allocations: 365.8 kB / 347.6 MB, free: 340 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.1557, allocations: 247.7 kB / 347.8 MB, free: 92 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.1557, allocations: 4 kB / 347.8 MB, free: 88 kB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001314/0.157, allocations: 0.7552 MB / 348.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.157, allocations: 11.94 kB / 348.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1571, allocations: 4 kB / 348.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/0.1576, allocations: 204.7 kB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.158, allocations: 79.89 kB / 348.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003397/0.1614, allocations: 2.67 MB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.1619, allocations: 51.7 kB / 351.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.1619, allocations: 20 kB / 351.6 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005903/0.1625, allocations: 333.7 kB / 351.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.1626, allocations: 55.34 kB / 352 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.1628, allocations: 69.27 kB / 352.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1628, allocations: 4 kB / 352.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1628, allocations: 0 / 352.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1628, allocations: 0 / 352.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.1654, allocations: 1.636 MB / 353.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1654, allocations: 0 / 353.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.1656, allocations: 51.91 kB / 353.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.1661, allocations: 196.8 kB / 353.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.1662, allocations: 15.94 kB / 354 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003108/0.1693, allocations: 2.659 MB / 356.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1693, allocations: 4 kB / 356.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.1711, allocations: 1.11 MB / 357.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.1714, allocations: 188.4 kB / 357.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.1715, allocations: 16 kB / 357.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.1718, allocations: 27.97 kB / 358 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.1719, allocations: 39.94 kB / 358 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.172, allocations: 15.98 kB / 358 MB, free: 5.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005869/0.1726, allocations: 410.8 kB / 358.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1726, allocations: 0 / 358.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008857/0.1735, allocations: 203.4 kB / 358.6 MB, free: 4.895 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.1737, allocations: 131.1 kB / 358.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.1751, allocations: 0.7363 MB / 359.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1751, allocations: 0.9375 kB / 359.5 MB, free: 4.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.1758, allocations: 482.1 kB / 360 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.1767, allocations: 138.3 kB / 360.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.1799, allocations: 1.765 MB / 361.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/0.1808, allocations: 1.062 MB / 362.9 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.1811, allocations: 100.7 kB / 363 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1812, allocations: 35.44 kB / 363.1 MB, free: 376 kB / 302.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1813, allocations: 0 / 363.1 MB, free: 376 kB / 302.1 MB Notification: Performance of Templates: time 0.01705/0.1983, allocations: 9.052 MB / 372.1 MB, free: 7.312 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches