Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0008692/0.0008693, allocations: 94.48 kB / 16.3 MB, free: 6.457 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.000848/0.0008481, allocations: 185.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 6.594 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08151/0.08175, allocations: 50.42 MB / 351.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004494/0.08628, allocations: 3.732 MB / 354.9 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.08861, allocations: 1.208 MB / 356.1 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.08922, allocations: 19.88 kB / 356.1 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.08969, allocations: 139.2 kB / 356.2 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.0909, allocations: 287.1 kB / 356.5 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.0914, allocations: 131.7 kB / 356.7 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.09277, allocations: 0.9629 MB / 357.6 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000983/0.09377, allocations: 0.7335 MB / 358.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.09459, allocations: 478.2 kB / 358.8 MB, free: 3.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.09568, allocations: 0.5953 MB / 359.4 MB, free: 3.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.0959, allocations: 76 kB / 359.5 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.0962, allocations: 72 kB / 359.6 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.09657, allocations: 331 kB / 359.9 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.09691, allocations: 297 kB / 360.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.09828, allocations: 1.765 MB / 361.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.0983, allocations: 4 kB / 361.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0983, allocations: 0 / 361.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.09833, allocations: 0 / 361.9 MB, free: 0.8164 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002827/0.1012, allocations: 1.549 MB / 363.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1012, allocations: 12.03 kB / 363.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.1015, allocations: 154.2 kB / 363.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.1029, allocations: 0.9222 MB / 364.6 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.103, allocations: 78.06 kB / 364.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.1031, allocations: 104 kB / 364.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.1055, allocations: 1.553 MB / 366.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.1055, allocations: 3.938 kB / 366.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.1056, allocations: 40 kB / 366.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.1057, allocations: 42.05 kB / 366.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.1079, allocations: 1.46 MB / 367.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006627/0.1146, allocations: 4.984 MB / 372.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.1162, allocations: 1.469 MB / 374.3 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.1162, allocations: 8.547 kB / 374.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009423/0.1172, allocations: 0.6185 MB / 374.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/0.1172, allocations: 0 / 374.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.005567/0.1228, allocations: 2.435 MB / 377.4 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.1228, allocations: 93.66 kB / 377.5 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1239, allocations: 0.9265 MB / 378.4 MB, free: 15.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.124, allocations: 41.7 kB / 378.4 MB, free: 15.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.1244, allocations: 0.527 MB / 379 MB, free: 15.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.1246, allocations: 232.6 kB / 379.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1246, allocations: 16 kB / 379.2 MB, free: 15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1247, allocations: 334 kB / 379.5 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.1254, allocations: 425.6 kB / 379.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.1262, allocations: 0.5524 MB / 380.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.1269, allocations: 457.9 kB / 380.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1269, allocations: 4 kB / 380.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002023/0.1289, allocations: 1.304 MB / 382.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1289, allocations: 4 kB / 382.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.129, allocations: 4 kB / 382.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008654/0.1298, allocations: 403.2 kB / 382.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.1303, allocations: 119.8 kB / 382.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.1353, allocations: 4.258 MB / 387 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.1359, allocations: 91.44 kB / 387.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/0.1359, allocations: 28 kB / 387.1 MB, free: 6.859 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0006307/0.1366, allocations: 495.1 kB / 387.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.1367, allocations: 90.88 kB / 387.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1369, allocations: 120.5 kB / 387.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1369, allocations: 8 kB / 387.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1369, allocations: 3.953 kB / 387.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1369, allocations: 3.984 kB / 387.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.1407, allocations: 2.589 MB / 390.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1407, allocations: 4 kB / 390.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.1411, allocations: 87.88 kB / 390.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008335/0.142, allocations: 389.1 kB / 390.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.142, allocations: 15.98 kB / 390.9 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005122/0.1471, allocations: 4.228 MB / 395.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1472, allocations: 0 / 395.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.15, allocations: 1.978 MB / 397.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.1506, allocations: 291.8 kB / 397.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.1507, allocations: 15.94 kB / 397.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.1511, allocations: 47.95 kB / 397.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.1513, allocations: 76.53 kB / 397.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/0.1514, allocations: 23.98 kB / 397.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000859/0.1522, allocations: 0.6629 MB / 398.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1523, allocations: 0 / 398.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001042/0.1533, allocations: 354.8 kB / 398.6 MB, free: 11.16 MB / 334.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001908/0.1535, allocations: 127.1 kB / 398.7 MB, free: 11.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.1556, allocations: 1.292 MB / 400 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1556, allocations: 4.125 kB / 400 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.1568, allocations: 0.8103 MB / 400.8 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.1577, allocations: 227.2 kB / 401 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.1622, allocations: 3.078 MB / 404.1 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/0.1631, allocations: 1.411 MB / 405.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004563/0.1636, allocations: 175.2 kB / 405.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.1637, allocations: 59.44 kB / 405.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1637, allocations: 0 / 405.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of Templates: time 0.02436/0.1881, allocations: 16.37 MB / 422.1 MB, free: 3.742 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches