Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.036/1.036, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064e-05/1.214e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00399/0.004002, allocations: 4.478 MB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.005932, allocations: 1.297 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.006213, allocations: 31.75 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.0065, allocations: 174.6 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.00725, allocations: 381.5 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.007627, allocations: 227.5 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.008821, allocations: 1.684 MB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.009415, allocations: 0.5754 MB / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.01045, allocations: 1.037 MB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.01138, allocations: 0.8496 MB / 284.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.0116, allocations: 176 kB / 284.3 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.01185, allocations: 184 kB / 284.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.01215, allocations: 0.4986 MB / 284.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.01262, allocations: 0.5456 MB / 285.5 MB, free: 4.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009439/0.01356, allocations: 1.34 MB / 286.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.01357, allocations: 3.938 kB / 286.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01357, allocations: 0 / 286.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.01358, allocations: 0 / 286.8 MB, free: 3.648 MB / 266.7 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.002119/0.0157, allocations: 2.297 MB / 289.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.01573, allocations: 15.98 kB / 289.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.01623, allocations: 287.9 kB / 289.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.017, allocations: 0.8187 MB / 290.2 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.01705, allocations: 86.38 kB / 290.3 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.125/0.142, allocations: 102.2 kB / 290.4 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1435, allocations: 0.8361 MB / 291.3 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1435, allocations: 3.812 kB / 291.3 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.1436, allocations: 47.45 kB / 291.3 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.1436, allocations: 44.61 kB / 291.3 MB, free: 25.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.1442, allocations: 304.2 kB / 291.6 MB, free: 25.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.1481, allocations: 3.866 MB / 295.5 MB, free: 23.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.1486, allocations: 475.2 kB / 296 MB, free: 23.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.1491, allocations: 326.5 kB / 296.3 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.1491, allocations: 14.09 kB / 296.3 MB, free: 23.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.1495, allocations: 348 kB / 296.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.214e-06/0.1496, allocations: 0 / 296.6 MB, free: 23.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002254/0.1518, allocations: 1.081 MB / 297.7 MB, free: 22.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1518, allocations: 92.52 kB / 297.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/0.1526, allocations: 0.7725 MB / 298.6 MB, free: 22.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.1527, allocations: 41.27 kB / 298.6 MB, free: 22.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.1531, allocations: 0.6214 MB / 299.3 MB, free: 22.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.1532, allocations: 253.6 kB / 299.5 MB, free: 21.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1534, allocations: 139.4 kB / 299.6 MB, free: 21.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1535, allocations: 0.5175 MB / 300.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.1537, allocations: 77.03 kB / 300.2 MB, free: 21.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.154, allocations: 313.1 kB / 300.5 MB, free: 21.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.1544, allocations: 406.6 kB / 300.9 MB, free: 20.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1544, allocations: 1.125 kB / 300.9 MB, free: 20.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000795/0.1551, allocations: 0.5525 MB / 301.5 MB, free: 20.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1552, allocations: 15.16 kB / 301.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1552, allocations: 7.812 kB / 301.5 MB, free: 20.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.1556, allocations: 177.4 kB / 301.7 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1559, allocations: 114.5 kB / 301.8 MB, free: 20.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.158, allocations: 3.09 MB / 304.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1582, allocations: 58.67 kB / 304.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.1582, allocations: 21.75 kB / 305 MB, free: 18.24 MB / 266.7 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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.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 (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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.1584, allocations: 203.5 kB / 305.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1586, allocations: 122.5 kB / 305.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1587, allocations: 107.5 kB / 305.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1587, allocations: 8.281 kB / 305.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1587, allocations: 0 / 305.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1587, allocations: 6.172 kB / 305.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1602, allocations: 1.321 MB / 306.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1602, allocations: 0 / 306.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.1604, allocations: 77.98 kB / 306.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.1608, allocations: 170.1 kB / 307 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.1608, allocations: 12.28 kB / 307 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/0.1649, allocations: 3.057 MB / 310 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1649, allocations: 3.938 kB / 310 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.1661, allocations: 0.7634 MB / 310.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.1665, allocations: 179 kB / 311 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.1666, allocations: 18.72 kB / 311 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.1669, allocations: 24.3 kB / 311 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.167, allocations: 67.75 kB / 311.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.1671, allocations: 18.95 kB / 311.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.1675, allocations: 466.2 kB / 311.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1675, allocations: 0 / 311.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009448/0.1685, allocations: 353.8 kB / 311.9 MB, free: 13.72 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,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: 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 (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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.1686, allocations: 129.3 kB / 312 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.1697, allocations: 0.7037 MB / 312.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1697, allocations: 0 / 312.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.1702, allocations: 0.5532 MB / 313.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.1708, allocations: 254.8 kB / 313.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.1733, allocations: 2.281 MB / 315.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.1736, allocations: 391.8 kB / 316.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.1738, allocations: 91.27 kB / 316.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.1741, allocations: 294 kB / 316.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1741, allocations: 0 / 316.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of Templates: time 0.01977/0.1939, allocations: 18.55 MB / 335.1 MB, free: 6.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.092449669726193]