Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 84.19 kB / 16.31 MB, free: 6.453 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.001589/0.001589, allocations: 179.4 kB / 17.21 MB, free: 6.328 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.528/1.528, allocations: 223.3 MB / 241.2 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 7.984 kB / 300.8 MB, free: 6.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 50.42 MB / 351.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.00435/0.1283, allocations: 2.954 MB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1301, allocations: 0.8144 MB / 355 MB, free: 204 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.1306, allocations: 4 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1308, allocations: 47.56 kB / 355.1 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004767/0.1313, allocations: 95.17 kB / 355.2 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1318, allocations: 99.88 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007458/0.1325, allocations: 477.9 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.1329, allocations: 128.4 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.1334, allocations: 159.3 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003682/0.1337, allocations: 183.1 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.677e-05/0.1338, allocations: 20 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.1339, allocations: 20 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.134, allocations: 71.69 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1342, allocations: 109.4 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.1346, allocations: 387.1 kB / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1346, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1346, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.1346, allocations: 0 / 356.8 MB, free: 14.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001321/0.1359, allocations: 0.6637 MB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.136, allocations: 8.031 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1362, allocations: 51.44 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.1366, allocations: 327.2 kB / 357.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.1367, allocations: 29 kB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.1368, allocations: 39.98 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.1375, allocations: 387.8 kB / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1375, allocations: 4 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1376, allocations: 19.95 kB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1376, allocations: 8 kB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/0.1382, allocations: 267.8 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1404, allocations: 1.508 MB / 360.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.1409, allocations: 247.4 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.1412, allocations: 170.2 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.1413, allocations: 240 / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.1417, allocations: 230.6 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.665e-06/0.1417, allocations: 3.938 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00154/0.1433, allocations: 0.5927 MB / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.1434, allocations: 114.7 kB / 361.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.1437, allocations: 292.5 kB / 361.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.1438, allocations: 33.7 kB / 361.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1439, allocations: 212.4 kB / 361.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.144, allocations: 106.5 kB / 362 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.1441, allocations: 8 kB / 362.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1442, allocations: 342.8 kB / 362.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1444, allocations: 96.64 kB / 362.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1447, allocations: 228.3 kB / 362.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1449, allocations: 123.1 kB / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1449, allocations: 0 / 362.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007151/0.1457, allocations: 421.6 kB / 363.2 MB, free: 7.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1457, allocations: 8 kB / 363.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1457, allocations: 4 kB / 363.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.146, allocations: 89.2 kB / 363.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.1462, allocations: 59.91 kB / 363.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.1482, allocations: 1.796 MB / 365.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1484, allocations: 39.67 kB / 365.2 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1485, allocations: 16 kB / 365.2 MB, free: 5.434 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: 11 ($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.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.1487, allocations: 177.7 kB / 365.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.1488, allocations: 31.62 kB / 365.5 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.1488, allocations: 39.28 kB / 365.5 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1489, allocations: 4 kB / 365.5 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1489, allocations: 7.875 kB / 365.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1489, allocations: 3.984 kB / 365.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006204/0.1495, allocations: 0.5654 MB / 366.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1495, allocations: 0 / 366.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1497, allocations: 39.91 kB / 366.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.1499, allocations: 76.81 kB / 366.2 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.15, allocations: 4 kB / 366.2 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.1517, allocations: 1.796 MB / 368 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1517, allocations: 3.953 kB / 368 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.1526, allocations: 0.4989 MB / 368.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.1528, allocations: 136.7 kB / 368.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.1528, allocations: 4 kB / 368.6 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.153, allocations: 19.98 kB / 368.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.1531, allocations: 23.97 kB / 368.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1531, allocations: 7.984 kB / 368.7 MB, free: 1.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1533, allocations: 211.1 kB / 368.9 MB, free: 1.547 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1533, allocations: 3.938 kB / 368.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000512/0.1538, allocations: 119.7 kB / 369 MB, free: 1.426 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.154, allocations: 114.6 kB / 369.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008069/0.1548, allocations: 422.3 kB / 369.5 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.1548, allocations: 4 kB / 369.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1553, allocations: 284.5 kB / 369.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1556, allocations: 62.88 kB / 369.9 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1861/0.3417, allocations: 0.8611 MB / 370.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3421, allocations: 0.8047 MB / 371.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002196/0.3424, allocations: 38.19 kB / 371.6 MB, free: 23.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.3424, allocations: 24.83 kB / 371.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3425, allocations: 4.438 kB / 371.6 MB, free: 23.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01073/0.3532, allocations: 4.213 MB / 375.8 MB, free: 23.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches