Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0008513/0.0008512, allocations: 88.95 kB / 16.31 MB, free: 5.66 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.0009467/0.0009466, allocations: 183.5 kB / 17.21 MB, free: 5.578 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.564/1.564, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 5.844 kB / 300.8 MB, free: 5.945 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 50.43 MB / 351.3 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004051/0.1125, allocations: 3.159 MB / 354.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1145, allocations: 0.9667 MB / 355.4 MB, free: 7.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.1149, allocations: 11.94 kB / 355.4 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1151, allocations: 71.47 kB / 355.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.1157, allocations: 206.9 kB / 355.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.116, allocations: 83.84 kB / 355.7 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009179/0.1169, allocations: 0.9729 MB / 356.7 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.1174, allocations: 425 kB / 357.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.1178, allocations: 302.8 kB / 357.4 MB, free: 5.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.1183, allocations: 406.3 kB / 357.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.478e-05/0.1184, allocations: 44 kB / 357.9 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.1185, allocations: 43.94 kB / 357.9 MB, free: 4.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1187, allocations: 207.3 kB / 358.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.1189, allocations: 185.3 kB / 358.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008538/0.1197, allocations: 0.9973 MB / 359.3 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1197, allocations: 0 / 359.3 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1197, allocations: 0 / 359.3 MB, free: 3.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1198, allocations: 4 kB / 359.3 MB, free: 3.59 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001747/0.1215, allocations: 1.037 MB / 360.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1216, allocations: 8.031 kB / 360.3 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1217, allocations: 94.83 kB / 360.4 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.1225, allocations: 0.5915 MB / 361 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.1226, allocations: 57.28 kB / 361.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1227, allocations: 71.84 kB / 361.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1242, allocations: 0.915 MB / 362.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.1242, allocations: 4 kB / 362.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.1243, allocations: 24 kB / 362.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.1243, allocations: 33.27 kB / 362.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1257, allocations: 0.8091 MB / 362.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.1294, allocations: 2.823 MB / 365.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.1303, allocations: 0.7455 MB / 366.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.1309, allocations: 365 kB / 366.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1309, allocations: 4.328 kB / 366.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/0.1316, allocations: 385.8 kB / 367.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.355e-06/0.1316, allocations: 0 / 367.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002803/0.1344, allocations: 1.233 MB / 368.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.1345, allocations: 114.8 kB / 368.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.1352, allocations: 0.5604 MB / 369.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.1353, allocations: 37.7 kB / 369.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.1356, allocations: 359.9 kB / 369.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.1357, allocations: 142 kB / 369.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1358, allocations: 12 kB / 369.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.136, allocations: 362.7 kB / 370 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.1364, allocations: 225 kB / 370.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.1369, allocations: 357.7 kB / 370.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.1373, allocations: 259.7 kB / 370.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1373, allocations: 0 / 370.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00122/0.1385, allocations: 0.7592 MB / 371.6 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1386, allocations: 11.92 kB / 371.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.1386, allocations: 7.938 kB / 371.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.1391, allocations: 204.7 kB / 371.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.1394, allocations: 79.89 kB / 371.9 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.1428, allocations: 2.762 MB / 374.7 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.1431, allocations: 55.61 kB / 374.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.1432, allocations: 20 kB / 374.8 MB, free: 3.52 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_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.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 (43): * Single equations (assignments): 42 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004978/0.1437, allocations: 325.9 kB / 375.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.1438, allocations: 59.33 kB / 375.1 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1439, allocations: 69.28 kB / 375.2 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1439, allocations: 4 kB / 375.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.144, allocations: 4 kB / 375.2 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.144, allocations: 3.984 kB / 375.2 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.1466, allocations: 1.76 MB / 377 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1466, allocations: 3.984 kB / 377 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.1469, allocations: 47.97 kB / 377 MB, free: 1.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.1473, allocations: 200.7 kB / 377.2 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.1473, allocations: 8 kB / 377.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.15, allocations: 2.646 MB / 379.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.15, allocations: 0 / 379.9 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.1517, allocations: 1.157 MB / 381 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.1519, allocations: 192.4 kB / 381.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.152, allocations: 8 kB / 381.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1523, allocations: 31.97 kB / 381.3 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1524, allocations: 39.94 kB / 381.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.1525, allocations: 15.98 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005066/0.153, allocations: 414.8 kB / 381.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.153, allocations: 0 / 381.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007109/0.1537, allocations: 203.3 kB / 381.9 MB, free: 12.1 MB / 318.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_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 (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.0001627/0.1539, allocations: 126.1 kB / 382 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1551, allocations: 0.7332 MB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1551, allocations: 7.969 kB / 382.8 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006581/0.1557, allocations: 478.7 kB / 383.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.1564, allocations: 145.8 kB / 383.4 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.1592, allocations: 1.815 MB / 385.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.1598, allocations: 1.074 MB / 386.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002576/0.1601, allocations: 92.73 kB / 386.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.1602, allocations: 35.44 kB / 386.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1602, allocations: 0 / 386.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of Templates: time 0.01618/0.1764, allocations: 9.08 MB / 395.5 MB, free: 14.58 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches